© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
2 replies
heat23.

SelectFilter with relationship help...

I am using the standalone Table builder in my Laravel app. I would like to add a drop-down filter where all the options are listed and come from the database. Here is what I have so far:
php 
   SelectFilter::make('type')
    ->multiple()
    ->relationship('type', 'name')
php 
   SelectFilter::make('type')
    ->multiple()
    ->relationship('type', 'name')

However, in the UI, I'm not given a drop-down list to choose from - I have a Search box. How do I change this to a drop-down?
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

SelectFilter with relationship query
FilamentFFilament / ❓┊help
2y ago
SelectFilter relationship field
FilamentFFilament / ❓┊help
3y ago
SelectFilter unique/distinct relationship value
FilamentFFilament / ❓┊help
2y ago
SelectFilter by 2 level relationship
FilamentFFilament / ❓┊help
2y ago