© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
1 reply
3rgo

Disabled action tooltip does not show

I'm working on a form (inside a custom page FWIW) with an action that is disabled dynamically depending on the form state. I would like to show a tooltip only when my action is disabled, to inform the user of why it is disabled, so I've injected the state of the current action to vary my tooltip content :
Action::make(__('pages.apply.submit'))
                ->icon('fas-paper-plane')
                ->color('success')
                ->disabled(fn ($livewire) => $livewire->isDirty())
                ->tooltip(fn (Action $action) => $action->isDisabled() ? __('pages.apply.submit_confirmation_disabled') : null)
Action::make(__('pages.apply.submit'))
                ->icon('fas-paper-plane')
                ->color('success')
                ->disabled(fn ($livewire) => $livewire->isDirty())
                ->tooltip(fn (Action $action) => $action->isDisabled() ? __('pages.apply.submit_confirmation_disabled') : null)

But when the action is disabled the tooltip does not show. If I remove the condition and set the tooltip text unconditionally, it show when the action is enabled and does not show when the action is disabled.

Did I do something wrong, or is this expected behavior ? If this is expected, is there a workaround ? Thanks
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

Tooltip does not appear on action when disabled(true)
FilamentFFilament / ❓┊help
3y ago
Disable action with tooltip
FilamentFFilament / ❓┊help
2y ago
Action in infolist does not show the form
FilamentFFilament / ❓┊help
12mo ago
Tooltips not working on Disabled Action Button.
FilamentFFilament / ❓┊help
15mo ago