ReferenceError: selectedRows is not defined
I have a custom filament page. Super simple: an infolist and a table
When on this page i try to perform any actions i'm getting
ReferenceError: selectedRows is not defined
(screenshot attached).
I realised that this happens only if the table has not been rendered yet.
Meaning if the table is not in the viewport it won't be rendered (by default).
If i scroll to render it then i can use the page normally without any issues![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1225051420319944754/Screenshot_2024-04-03_at_13.45.34.png)
1 Reply
I have exactly the same problem. Did you find a solution?
When I added bulk actions, I am getting more errors too
A few more errors
What I have noticed is all those functions are in table.js file, and the file is loaded successfully in the network log.