Edit Select form component
'd like to know how to get the client_name though when I created it appears the name, I tried to edit but it appears only the id of the model. does anyone know how to do it appear the name?
// This is my code of the Select form component
Select::make('audit_id')
->label('Client')
->options(AuditSchedule::with('audit.clientCertType.client')->get()->pluck('audit.clientCertType.client.client_name', 'id'))
->searchable(),

0 Replies