© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•11mo ago•
27 replies
Hung Thai

Form Select relationship with custom search

hi. I want to implement the custom search to the form select component. How can I archive this?
I've tried to use the component relationship() with
modifyQueryUsing: ($query, $search)
callback function but no luck.

Context: for example, I have a product, which belongs to an order, and product also belongs to an category. I want to make a select field inside create/edit an order resource, with the functional search with product code, product name, and category's name for example.
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

Form Select - Search Across Relationship
FilamentFFilament / ❓┊help
2y ago
Form Select relationship search in two columns
FilamentFFilament / ❓┊help
2y ago
Form select relationship help
FilamentFFilament / ❓┊help
11mo ago
Relationship search in belongsTo select
FilamentFFilament / ❓┊help
3y ago