Closed bernhardh closed 2 years ago
Apologies, can't replicate this at all - copied your exact code. Please send me a GitHub repo where I can explore the context behind this bug more :)
Thanks for your efford!
I retried it just now, and it worked. Maybe there was a bug in another package and that got fixed in a current update.
Package
filament/tables
Package Version
v2.5.31
Laravel Version
v8.76.2
Livewire Version
v2.8.2
PHP Version
8.0.13
Bug description
I am using the table and forms package outside of filament admin! I created a simple table component, added a delete
ButtonAction
and want to get confirmation before deletion (requiresConfirmation
). When the user clicks on confirm in the modal, the record is delete, but I get JS errors and a overlay stays. See screencasthttps://user-images.githubusercontent.com/642292/146615552-62b01029-48ae-4d6c-bd5f-ae48085843cf.mp4
Without
requiresConfirmation
, everything works fine:https://user-images.githubusercontent.com/642292/146615624-082bcc1a-3474-4bb4-9242-052e130a0056.mp4
Steps to reproduce
I have the following simplified Table Component:
And this is the blade view:
Relevant log output
No response