Delete button
Hi everyone! I'm new to FilamentPHP and I'm trying to add custom "Edit" and "Delete" buttons to my table. The "Edit" button works perfectly, but the "Delete" button isn't functioning. I'm using the default mountTableAction('delete', '{$record->id}') method for the delete functionality.
Here’s the code for my custom delete button:
I also added this button to a mobile-only section:
The "Edit" button works fine, but when I click the "Delete" button, nothing happens. I suspect there might be an issue with the wire:click directive or permissions, but I'm not sure.
Could someone please help me figure out why the "Delete" button isn't working? Any advice would be greatly appreciated!
Here’s the code for my custom delete button:
I also added this button to a mobile-only section:
The "Edit" button works fine, but when I click the "Delete" button, nothing happens. I suspect there might be an issue with the wire:click directive or permissions, but I'm not sure.
Could someone please help me figure out why the "Delete" button isn't working? Any advice would be greatly appreciated!
