RelationManager - how to control what columns display back?

How can the search functionality display additional information? When I'm searching I am searching across both a name and a number, but just the number (which is what is going to be associated) is shown. I would like it to show both - like an employee number and first/last name.
3 Replies
toeknee
toeknee3mo ago
Can you elaborate please?
HeartlandTechie
HeartlandTechieOP3mo ago
Here - I'd like to show a number and name instead of just the numbers when searching. This is on a relation manager to attach records to another table.
No description
HeartlandTechie
HeartlandTechieOP3mo ago
Found it: Tables\Actions\AttachAction::make() ->recordTitle(fn (Model $record): string => "{$record->student_number} {$record->first_name} {$record->last_name}")...
Want results from more Discord servers?
Add your server