Array of actions on a custom page - Not possible ?
Hi guys, I'm trying to make a custom export page that display some Filament actions dynamically but it's not working.
Is there a way do to that or it's not possible and I must declare one method per action, as explained in the docs (https://filamentphp.com/docs/3.x/actions/adding-an-action-to-a-livewire-component#adding-the-action).

5 Replies
You have not included the modals component in the lade as per the acitons docs
https://filamentphp.com/docs/3.x/actions/adding-an-action-to-a-livewire-component
You also need <x-filament-actions::modals /> which injects the HTML required to render action modals. This only needs to be included within the Livewire component once, regardless of how many actions you have for that component.
I tried and it's not working either (I think it's not required if the page lives in a Filament panel).
When I click, the action is loading for a few seconds, then it stops and nothing happen.
Possibly actually. That's usually when somehting hasn't worked