Proposal: Disabled pseudo class should be enabled by default #2234
alfonsobries
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have been working since the last year in a library of components with configurable tailwind classes (https://vue-tailwind.com/)
The idea is that the user defines the different variants of the elements an assign some classes to it, well... with all the experience I got working in this project I notice that almost in 100% of the cases the user needs to define a class for when an HTML form input is disabled,
That, of course, it's possible with a tailwind but requires to enable the
disabled
pseudo class or adding some JS logic for when the input is disabledIn summary, I think that pseudo-class is important enough to be enabled by default, thoughts?
Beta Was this translation helpful? Give feedback.
All reactions