BUG: Bulk action in table widget not working
I have a bulk action in my tablewidget with this code:
6 Replies
I'm only selecting 1 record, but when I dump the $records, it's showing records that were not selected as well
Another example:
Am I doing something wrong? Or could this be a bug with the BulkActions?
Bump 😬
its already a deletebulkaction so no need to actually change the action?
Correct, I only changed the action so see which records it selects with the dd().
Because even without modifying it, I only selected one, and it deleted all of them
I have Filament 3.1.28 installed and when I use the Bulk actions, only the selected records are processed.
I just tested afresh: Both my Export and Delete are only deleting/exporting the selected record (I tried 1, 2, 4 records, all did as expected, never with unexpected records).