© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•11mo ago•
8 replies
RafałMaślakMisterPoland

How searchable() works on form enum Select?

My Select is defined like this:

Select::make('country')
->label('Country')
->required()
->options(Country::class)
->searchable()

Country class is enum, which implements HasLabel.

Is it exact match searching or some kind of Levenshtein? When i'm typing, select show records, which in my opinion should not be suggested.
When i typed "Polska" i see "Polska" option at first position, but select shows also options like: Bostwana, Kostaryka, Holandia, and many others.
Is it searchable() native behavior or i missed someting?
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

Enum with form->select
FilamentFFilament / ❓┊help
3y ago
searchable on SelectColumn?
FilamentFFilament / ❓┊help
2y ago
Select searchable
FilamentFFilament / ❓┊help
2y ago
createOptionUsing only works when Select is searchable
FilamentFFilament / ❓┊help
10mo ago