Refresh Filament component from a custom one
I have the following infolist
Is there a way to trigger the infolist to update from inside
MyCustomComponent
?
I can listen for an event inside the my filament ViewRecord
class, but I'm not sure how to trigger the actual update/refresh. I'd rather avoid a full page reload.
Ideally, I would have the same behaviour actions have (eg only the infolist is updated)3 Replies
Did you figured out how ?
Dispatch event from one component and listen for that event on another. Basic livewire
What I needed was just to refresh the component, so I had this
This way the component is refreshed whenever
some-event
is dispatched