Closed zepfietje closed 2 years ago
Could you provide an example of the HTML code for that being generated? I'm wondering if the button type is wrong - you have to set it to type of button otherwise it will act as a submit button . . . which has caused issues like this on my code elsewhere.
Ah good one @HeartlandTechie.
I've also had issues caused by a wrong button type before.
However, in this case it's type="button"
, so shouldn't be the cause.
This appears to be a weird bug with our Alpine code - the click handler for the bulk action buttons is being triggered twice.
Fixed by #1764.
Package
filament/tables
Package Version
v2.10.11
Laravel Version
v9.1.0
Livewire Version
v2.10.4
PHP Version
PHP 8.1.2
Bug description
Bulk actions seem to fire twice. Adding
->requiresConfirmation()
fixes it and just executes the action once.Steps to reproduce
->requiresConfirmation()
to the action.Relevant log output
No response