© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
2 replies
stijntrinos

`->live()` Not working as `->reactive()`

I don't know if I am doing something wrong here, but as of what I can see in the docs is that
reactive
reactive
is now replaced by
live
live
? If I replace it, the
afterStateUpdated
afterStateUpdated
is not triggered.
Is there something else that needs to be done to the form or?

My code looks something like this
Select::make('data.qa1')
  ->label('qa1')
  ->options([
    'a1' => 'a1',
    'a2' => 'a2',
    'a3' => 'a3',
  ])
  ->live()
  ->afterStateUpdated(function (Get $get, Component $component, ?string $state) {
    echo $state;
  }),
Select::make('data.qa1')
  ->label('qa1')
  ->options([
    'a1' => 'a1',
    'a2' => 'a2',
    'a3' => 'a3',
  ])
  ->live()
  ->afterStateUpdated(function (Get $get, Component $component, ?string $state) {
    echo $state;
  }),
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

Form Component Toggle live or reactive() not working
FilamentFFilament / ❓┊help
3y ago
reactive() vs live()
FilamentFFilament / ❓┊help
3y ago
Filament Reactive not Working
FilamentFFilament / ❓┊help
3y ago
Form ->live() Not Working
FilamentFFilament / ❓┊help
2y ago