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.3 Replies
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.
Hi, did you figure this out? I'm having the same question at the moment.
as long as the class extend component from livewire then it works