© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
5 replies
Tally

Listening for events

Hi there, I was wondering where I'm making a mistake?

I have a Form Component Select

Forms\Components\Select::make('projectstatus_id')
  ->relationship('status', 'naam')
  ->reactive()
  ->registerListeners([
    'updateOptions' => [
      function (Forms\Components\Component $component): void {
        ray($component);
      },
    ],
 ])
 ->label('Current status'),
Forms\Components\Select::make('projectstatus_id')
  ->relationship('status', 'naam')
  ->reactive()
  ->registerListeners([
    'updateOptions' => [
      function (Forms\Components\Component $component): void {
        ray($component);
      },
    ],
 ])
 ->label('Current status'),


From withing my custom Livewire component I'm emitting an event

$this->emit('updateOptions');
$this->emit('updateOptions');

This works if I check the events tab of the LiveWire devtools.

So how to receive the event from the LiveWire component. The goal is to update the status field with the current status which is changed from within the LiveWire component.
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

Listening for broadcast events
FilamentFFilament / ❓┊help
2y ago
Listening for broadcast events multi-tenancy
FilamentFFilament / ❓┊help
2y ago
Muting Events
FilamentFFilament / ❓┊help
3y ago
events in filament
FilamentFFilament / ❓┊help
3y ago