F
Filamentβ€’2y ago
ByteXR

Action does not refresh page component

I have an action that updates model in view page, but once action is completed it does not refresh oage with new data, is there a quick way triggering that without going into Livewire events and defining event in each page to trigger '$refresh' ? Thank for the help πŸ‘
3 Replies
wyChoong
wyChoongβ€’2y ago
Filament
Actions - Pages - Admin Panel - Filament
The elegant TALL stack admin panel for Laravel artisans.
ByteXR
ByteXROPβ€’17mo ago
Thank you! Don't think it will work in my case as it is not a form, think I am going to have to issue livewire event
toeknee
toekneeβ€’17mo ago
As it's not a livewire/filament form then you will have to write a method to trigger a refresh as per: https://laravel-livewire.com/docs/2.x/actions
Livewire
Actions | Livewire
A full-stack framework for Laravel that takes the pain out of building dynamic UIs.
Want results from more Discord servers?
Add your server