Dispatching events from filament blade components
Hey,
how does one dispatch events from filament blade components, for example the button?
This works fine:
And this does not:
2 Replies
Where is the listener? Is it in Alpine in the Browser, or on a Livewire method?
The listener is in a livewire method:
A lot of other stuff is also pretty weird:
For example triggering an alert is working on all key presses:
And dispatching an event works on Enter only: