Action outside of the panel not showing modals
I have a component outside of the panel:
When clicking on the button, nothing happens, no confirm modal is shown. In Dev-Toolbar I see no error. Only thing I can see is that the attribute
disabled=true
is set for a second.
When I now remove the ->requiresConfirmation()
and click again, I can see the dd
output.
Same goes for custom modals - the modal isn't show. Nothing happens:
5 Replies
Solution
did you added the:
<x-filament-actions::modals />
🤦♂️
I am so stupid. That solved this issue.
Just one last question: The button isn't styled right. None of these are
make sure you follow these to add the action to tailwind content
https://filamentphp.com/docs/3.x/actions/installation#installing-tailwind-css
especially the
presets: [preset],
Thanks!