© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•6mo ago•
87 replies
mohdaftab

Select options get irrelevant results in the drop down list

Hello,

When using Select::make() with ->options() and ->searchable(), the search works instantly but sometimes shows irrelevant results because filtering happens client-side.
When switching to ->getSearchResultsUsing(), the results are accurate (server-side filtering) but the search becomes noticeably slower.

In my case, the dataset is very small (about 50 records per tenant), so I’d expect client-side searching to be both fast and accurate. Is this expected behavior, or should ->searchable() filter results the same way as ->getSearchResultsUsing() even when using ->options()?

Please let me know how to fix this, Thank you
Here is the code I am using:

                                        Select::make("driver_id")
                                            ->label("Drivers")
                                            ->options(function () {
                                                return Filament::getTenant()->drivers()->orderBy('name')->pluck("name", "id")->toArray();
                                            })
                                            ->searchable(),
                                        Select::make("driver_id")
                                            ->label("Drivers")
                                            ->options(function () {
                                                return Filament::getTenant()->drivers()->orderBy('name')->pluck("name", "id")->toArray();
                                            })
                                            ->searchable(),
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
Next page

Similar Threads

Drop down list in top bar
FilamentFFilament / ❓┊help
3y ago
Options List for Select Field
FilamentFFilament / ❓┊help
3y ago
hasOne model relationship select list options
FilamentFFilament / ❓┊help
3y ago
select drop down with manual input option ?
FilamentFFilament / ❓┊help
3y ago