Pass arguments to `DeleteAction` in Livewire component
Is it possible to add a
Here is some sample code (that doesn't work)
I can do something like
But that kind of defeats the purpose of using a
I tried a couple of things like
but nothing seems to work.
Any tips/ideas? Am I missing something?
DeleteAction to a component instead of a simple Action and pass arguments to it without overriding the action method? (https://filamentphp.com/docs/3.x/actions/adding-an-action-to-a-livewire-component#passing-action-arguments)Here is some sample code (that doesn't work)
I can do something like
But that kind of defeats the purpose of using a
DeleteAction in the 1st place.I tried a couple of things like
but nothing seems to work.
Any tips/ideas? Am I missing something?