F
Filament4mo ago
gg

Can I change this '+' sign to 'add new' in createOptionForm() of Select

can I change this '+' sign to 'add new' and edit icon to 'edit' in createOptionForm() of Select?
No description
1 Reply
dissto
dissto4mo ago
You could modify the action yes
->createOptionAction(function (\Filament\Forms\Components\Actions\Action $action){
$action
->icon(null)
->link()
->label('add new');
})
->createOptionAction(function (\Filament\Forms\Components\Actions\Action $action){
$action
->icon(null)
->link()
->label('add new');
})
Could do the same for the editOptionAction. See also Customizing the select action objects

Did you find this page helpful?