How to dispatch action using Notification inside a ListRecord class

I have a use Filament\Resources\Pages\ListRecords class and inside it is getCustomHeaderActions. I have an action inside that will show a Notification with action button that I want to dispatch an event. But I cannot the event is not firing.
No description
No description
3 Replies
krekas
krekas9mo ago
maybe because you are listening for events in the wrong way? https://livewire.laravel.com/docs/events#listening-for-events
Laravel
Events | Laravel
A full-stack framework for Laravel that takes the pain out of building dynamic UIs.
sven
sven7mo ago
Hi, did you figure this out? I'm having the same question at the moment.
christmex
christmex7mo ago
as long as the class extend component from livewire then it works

Did you find this page helpful?