© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
7 replies
ILPAV

Bug: Action button wrong background when disabled

Problem description
When applying the
->disabled()
->disabled()
function to one of the default
Actions
Actions
or a custom
CreateAction
CreateAction
the resulting button cannot be clicked and does not trigger the pointer cursor as expected, but it still present the default attributes. In fact, the opacity stays full and when hovering the background color still changes.
With table actions (
Tables\Actions\
Tables\Actions\
) this behavior is working correctly as shown in the image.
Expected behavior
The button opacity should be set to 70% with no background color change on hover.
Steps to reproduce
On any
ListRecords
ListRecords
page add
->disabled()
->disabled()
to the default
CreateAction
CreateAction
.
261156981-01717228-b86c-4494-8b0f-8664dc11ea0f.png
Solution
Fixed in this PR https://github.com/filamentphp/filament/pull/7905
GitHub
Fixing button disabled styling by ilpav12 · Pull Request #7905 · fi...
Changes have been thoroughly tested to not break existing functionality.

Fix for issue #7827.
This is a naive fix to the styling that adds classes containing :hover only when the button component ...
Fixing button disabled styling by ilpav12 · Pull Request #7905 · fi...
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Tooltips not working on Disabled Action Button.
FilamentFFilament / ❓┊help
15mo ago
Possible Bug in Action ->disabled() and ->hidden()
FilamentFFilament / ❓┊help
2y ago
Action button has no background in Livewire component
FilamentFFilament / ❓┊help
3y ago
Action button
FilamentFFilament / ❓┊help
16mo ago