© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
6 replies
sm

Integrating with Livewire/Laravel eventing.

Hey guys,

I was wondering if anyone could point me to docs/source on how filament integrates with livewire eventing? For example, if I have a TableWidget that's included via a ViewComponent and fire an event from an action within the TableWidget (for example: a select action), I can't seem to listen for that event from the parent Form. I've tried just adding a
protected $listeners = ['eventName' => 'someFunc'];
protected $listeners = ['eventName' => 'someFunc'];
and setting
$this->data
$this->data
from there, but the event doesn't seem to get through (is this something to do with emit direction?).

Also, it doesn't seem like I can use $this->emit() on form component closures, even though Filament uses livewire under the hood, is that expected? What's the right way to dispatch an event? is it using
dispatchEvent
dispatchEvent
from a closure to which we pass the current instance?

Thanks!
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

laravel breeze with livewire
FilamentFFilament / ❓┊help
16mo ago
Laravel notification with livewire
FilamentFFilament / ❓┊help
3y ago
Inquiry About Integrating Filament with Pure Laravel Workflow
FilamentFFilament / ❓┊help
3y ago
Livewire with Laravel Filament Forms Usage: FileUpload Error
FilamentFFilament / ❓┊help
11mo ago