© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
7 replies
bwurtz999

Select component disabled is not reactive, but the hint is

I have a select component that is reactive and checks the value of a hidden field to determine some of the configuration, include
disabled
disabled
and
hint
hint
. The
hint
hint
is working but the
disabled
disabled
is not

Hidden::make('allowCombination')
    ->reactive()
    ->default(false),
Select::make('combinationMeals')
    ->columnSpanFull()
    ->multiple()
    ->reactive()
    ->label('Additions (Packaged with the Protein)')
    ->disabled(function (callable $get) {
        $allow = $get('allowCombination');
        if($allow) {
            return false;
        }
        return true;
    })
    ->hint(function (callable $get) {
        $allow = $get('allowCombination');
        if($allow) {
            return '';
        }
        return "Select 'Individual' packaging type to include additional options";
    })
Hidden::make('allowCombination')
    ->reactive()
    ->default(false),
Select::make('combinationMeals')
    ->columnSpanFull()
    ->multiple()
    ->reactive()
    ->label('Additions (Packaged with the Protein)')
    ->disabled(function (callable $get) {
        $allow = $get('allowCombination');
        if($allow) {
            return false;
        }
        return true;
    })
    ->hint(function (callable $get) {
        $allow = $get('allowCombination');
        if($allow) {
            return '';
        }
        return "Select 'Individual' packaging type to include additional options";
    })


Does the
disabled
disabled
configuration not update after it is initially rendered?
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

Select::maxItems() is not reactive?
FilamentFFilament / ❓┊help
3y ago
Select::searchable() is not reactive?
FilamentFFilament / ❓┊help
3y ago
Select disabled not working
FilamentFFilament / ❓┊help
2y ago
Dynamic load component - Reactive does not work on Select
FilamentFFilament / ❓┊help
6mo ago