skip to Main Content

The title says it all. Trying to remove the label on an edit action. Or any action

I’ve checked stackoverflow and github

I can’t seem to find a straightforward answer and I have a feeling that there is one since in filament everything is just a 1 line thing solves a complex problem

2

Answers


  1. Chosen as BEST ANSWER

    UPDATE: Found the answer. when calling an action like edit or delete you can simply add ->label('') to your code and just the action icon will be displayed


  2. You can use icon button if you want to show only icon, and add tooltip for more readability like this

    TablesActionsAction::make('print')
        ->icon('heroicon-o-printer')
        ->tooltip('Print Honorarium')
        ->iconButton()
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search