Label not displayed
Hi,
i've to add an AttachAction to my form but the label of the " $action->getRecordSelect()" isn't displyed
here's my code
any idea ?
i've to add an AttachAction to my form but the label of the " $action->getRecordSelect()" isn't displyed
here's my code
Tables\Actions\AttachAction::make()
->form(function ($action) {
return [
$action->getRecordSelect()->label('Player'),
Forms\Components\Select::make('sport_id')
->label('Sport')
->options(fn () => Sport::pluck('name', 'id'))
->required()
];
})any idea ?