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
krekas7mo 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
sven4mo ago
Hi, did you figure this out? I'm having the same question at the moment.
christmex
christmex4mo ago
as long as the class extend component from livewire then it works
Want results from more Discord servers?
Add your server