© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
10 replies
Daniel

Hide label for action

I'm trying to hide the label of an action and I see that there's a
disableLabel
disableLabel
method but it doesn't hide the label.

When using
->label(false)
->label(false)
on the action the label gets hidden but there's an PHPStan warning:

phpstan: Parameter #1 $label of method Filament\Support\Actions\BaseAction::label() expects Closure|Illuminate\Contracts\Support\Htmlable|string|null, false given.
phpstan: Parameter #1 $label of method Filament\Support\Actions\BaseAction::label() expects Closure|Illuminate\Contracts\Support\Htmlable|string|null, false given.


What is the correct way to hide the label of an action?
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Hide label on mobile
FilamentFFilament / ❓┊help
3y ago
Label for Table Actions
FilamentFFilament / ❓┊help
16mo ago
Change Action Label from action method
FilamentFFilament / ❓┊help
3y ago
Extend group action label
FilamentFFilament / ❓┊help
3mo ago