© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
4 replies
Xiquita

recordSelectSearchColumns on GetRelation

Hello friends, I have a question, I'm in a get relation and I want in an attach action to do a search in the select for the name and for another field in the same table, I tried searching for the field by id and it worked but I wanted to use the name of the field, any solution? Thanks

Tables\Actions\AttachAction::make()
         ->color('success')
         ->recordSelectSearchColumns(['name', 'equipmentbrands.name'])
         ->preloadRecordSelect()
Tables\Actions\AttachAction::make()
         ->color('success')
         ->recordSelectSearchColumns(['name', 'equipmentbrands.name'])
         ->preloadRecordSelect()


I want that equipmentbrands.name to appear in the select search
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

getOptionLabelFromRecordUsing GetRelation
FilamentFFilament / ❓┊help
3y ago
GetRelations another getrelations
FilamentFFilament / ❓┊help
17mo ago
ImportColumn::getRelationship()
FilamentFFilament / ❓┊help
3y ago
Call to a member function getRelationExistenceQuery() on null
FilamentFFilament / ❓┊help
2y ago