F
Filamentβ€’2y ago
Crylar

How to disable label for the action button?

I was trying to do this using
Tables\Actions\EditAction::make()->disableLabel()
Tables\Actions\EditAction::make()->disableLabel()
but it looks like to ignore this and still shows the label. Is it a bug or a feature?
4 Replies
Dan Harrin
Dan Harrinβ€’2y ago
->iconButton() is probably what you want
Crylar
CrylarOPβ€’2y ago
Oh, yeh, there are so many methods out here, you can get lost easily. Is there a way to define size for the iconButton? I have tried ->size() but it does not look to work.
Dan Harrin
Dan Harrinβ€’2y ago
the options are sm/md/lg size() should work
Crylar
CrylarOPβ€’2y ago
oh right, I was trying a number πŸ™‚ πŸ‘
Want results from more Discord servers?
Add your server