© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
1 reply
daregu

Disabled class not working ON INPUTS

Hello,

I'm experiencing an issue with Filament 3 in Laravel. I'm trying to set the
cursor-not-allowed
cursor-not-allowed
class when the user submits the form, but instead of the
disabled
disabled
class being applied, the
readonly
readonly
class is being applied.

When inspecting the element with the
fi-input
fi-input
class, I found that the
disabled:
disabled:
classes are present.

Here is the code I'm using:

/* WORK */
.fi-input {
    @apply read-only:cursor-not-allowed read-only:opacity-50 !important;
}

/* DOESN'T WORK */
.fi-input {
    @apply disabled:cursor-not-allowed disabled:opacity-50 !important;
}
/* WORK */
.fi-input {
    @apply read-only:cursor-not-allowed read-only:opacity-50 !important;
}

/* DOESN'T WORK */
.fi-input {
    @apply disabled:cursor-not-allowed disabled:opacity-50 !important;
}
image.png
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

Disabled not working on RichEditor
FilamentFFilament / ❓┊help
3y ago
Select disabled not working
FilamentFFilament / ❓┊help
2y ago
No data from disabled inputs
FilamentFFilament / ❓┊help
3y ago
Tooltips not working on Disabled Action Button.
FilamentFFilament / ❓┊help
15mo ago