© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago
Panda

Updating input after saving the form

Hi, I want to disable this input when user selects a value and submits the form, I've tried to chain the the
disabled
disabled
method with condition but it only disables it after a fresh page reload. I've also tried adding the
live
live
method on the chain but still it has same behaviour.

Section::make('Event')->columnSpanFull()->schema([
        Select::make('event_id')
              ->live()
              ->label('Event')
              ->options(fn () => Event::get(['id', 'name'])
                                      ->mapWithKeys(fn (Event $event) => [$event->id => $event->name]))
              ->disabled(fn (Novel $record) => $record->event_id)
              ->searchable(false)
              ->native(false)
              ->helperText('Please check the event details ...')
Section::make('Event')->columnSpanFull()->schema([
        Select::make('event_id')
              ->live()
              ->label('Event')
              ->options(fn () => Event::get(['id', 'name'])
                                      ->mapWithKeys(fn (Event $event) => [$event->id => $event->name]))
              ->disabled(fn (Novel $record) => $record->event_id)
              ->searchable(false)
              ->native(false)
              ->helperText('Please check the event details ...')
image.png
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

Accessing form values after saving
FilamentFFilament / ❓┊help
3y ago
Refresh the form after saving in SPA mode
FilamentFFilament / ❓┊help
2y ago
Not saving all the input
FilamentFFilament / ❓┊help
2y ago
Filament Form + Livewire: Updating Field Without Saving to Database
FilamentFFilament / ❓┊help
12mo ago