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')*
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server