© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
1 reply
erikms61

Column search with Select

Hi Filament wizards,
Can we use a Select as a column search?
I know we can use a Filter... but can we do it with a Select? I can't find anything in the documentation about this.
Since we have a relatively small number of user groups, and the current search would require the user to type in the name; a Select would let them ... select.
something like:
   public static function table(Table $table): Table
    {
        return $table
            ->columns([
TextColumn::make('UserGroup.name')
                ->searchable(isIndividual:true, isGlobal:false)
*->useSelect('...')->options(UserGroup::all()->pluck('name','id')*
   public static function table(Table $table): Table
    {
        return $table
            ->columns([
TextColumn::make('UserGroup.name')
                ->searchable(isIndividual:true, isGlobal:false)
*->useSelect('...')->options(UserGroup::all()->pluck('name','id')*
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 Column
FilamentFFilament / ❓┊help
3y ago
Relation column search
FilamentFFilament / ❓┊help
3y ago
Select Search Optimization
FilamentFFilament / ❓┊help
3y ago
Select Column Saving
FilamentFFilament / ❓┊help
15mo ago