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
1 Reply
krekas
krekas3mo 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.