© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
6 replies
urbycoz

How to set a default on a searchable Select

When I make my Select searchable() it prevents the default value getting set. Is there a way around this?

Select::make('status')
->options([
'draft' => 'Draft',
'reviewing' => 'Reviewing',
'published' => 'Published',
])
->searchable() //When I remove this the default gets set ok
->selectablePlaceholder(false)
->default('draft');
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 menu. Enum. How set default-selected
FilamentFFilament / ❓┊help
2y ago
How to set Select Filter Default
FilamentFFilament / ❓┊help
2y ago
searchable on SelectColumn?
FilamentFFilament / ❓┊help
2y ago
Select searchable
FilamentFFilament / ❓┊help
2y ago