F
Filament4w 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.
Jump to solution
2 Replies
Solution
awcodes
awcodes4w ago
Yes, just follow the actions docs. A widget it a livewire component.
r0x
r0xOP4w ago
thanks. its working 😄

Did you find this page helpful?