ccc1516
ccc1516
FFilament
Created by ccc1516 on 10/1/2023 in #❓┊help
AttachAction: change the label in the select
Hi, there is a way to edit the label of the option in the attacaction's select? I try like that: Tables\Actions\AttachAction::make() ->recordSelect( fn (Select $select) => $select ->placeholder('Seleziona un team') ->getOptionLabelFromRecordUsing(fn (Model $record) => "Example") ) ->preloadRecordSelect(),
4 replies