Dispatching events from filament blade components

Hey,
how does one dispatch events from filament blade components, for example the button?

This works fine:

<button wire:click="$dispatch('post-created')">ABC</button>


And this does not:

 <x-filament::button wire:click="$dispatch('post-created')">ABC</x-filament::button>
Was this page helpful?