Retrieve data from a custom Filament\Actions\Action
In my action I've got a custom view:
Now when clicking on a list item the action gets triggered, but $data remains empty:
result:
[]
Solution:Jump to solution
Ok. Should have used $arguments:
```
PublicationStatusAction::make('status')
->action(function ($arguments): void {...
3 Replies
On click, I see this data in the request
Solution
Ok. Should have used $arguments:
So this is solved.
To clarify:
$data
is what's submitted when using a form.