Is it possible to hide a action's icon and just show a label?
Tried with label() but nothing. Ty
Solution:Jump to solution
Just don't use the icon at all and tell it to be a button. This works for me:
```php
Action::make('dniValidation')
->label('Comprova')
->button()...
14 Replies
Maybe ->icon(false)
tried and nope
It shows an error message saying it needs a $name
Can you give more information? What type of Action is it?
Is a TextInput Action
Please provide some code.
I want the Action to show 'Comprova' and not the icon. Right now it just shows the icon.
Which import do you have for Action
Filament\Forms\Components\Actions\Action
How can the import be Actions but the component Action?
Sry I typed wrong
Hm, as far as I can see I dont think that possible (yet)
Might submit a PR
Ty, I think it would be useful
Solution
Just don't use the icon at all and tell it to be a button. This works for me:
Ty! Didn't think this one