FilamentF
Filament8mo ago
r0x

Can an widget open a modal ?

Hello.

i created a Custom Page. Then, i created 2 tests:
  1. Action button inside getHeaderActions() to open a modal. It is working.
  2. Created a Custom Widget and tried to open a modal when clicking a button. it is not working.
Is it possible to open modals or slideOver() using a Widget? I cant put this working.

thanks.
Solution
Yes, just follow the actions docs. A widget it a livewire component.
Was this page helpful?