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](https://answer-overflow-discord-attachments.s3.amazonaws.com/1237239134549184562/image.png)
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1237239134817353738/image.png)
1 Reply
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.