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
Can you elaborate please?
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.
Found it:
Tables\Actions\AttachAction::make()
->recordTitle(fn (Model $record): string => "{$record->student_number} {$record->first_name} {$record->last_name}")...