© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
28 replies
JonathanH-UK

How can I customise the select list on a Relationship Manager's modal form?

I've tried so many ways to do what seems a really simple task:
Given a belongsToMany relationship between Training and Trainee models, I am using a TraineeRelationManager to attach Trainees to the Training.
This works fine by default but we could have numerous trainees called "John Smith" and the default relationship manager gives me now way to tell which is which.
Therefore I am trying to include the name of each Trainee's Organisation which is a belongsTo relationship on the Trainee.

i.e. Instead of a searchable select of potentially thousands of trainees just returning the "$trainee->name" , I need a string such as "$trainee->name ( $trainee->organisation )".

How can this be done on a Relation Manager please?
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 - Relationship customise display?
FilamentFFilament / ❓┊help
3y ago
Customise the modal form view
FilamentFFilament / ❓┊help
2y ago
format options on relationship manager select in attach form
FilamentFFilament / ❓┊help
3y ago
Customise 'titleContentName' content of Form Select component relationship
FilamentFFilament / ❓┊help
3y ago