Replies: 1 comment 1 reply
-
Not an answer but just a quick heads-up, I'm pretty sure HeadlessUI doesn't support |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Hello! I'm upgrading a website to
@headlessui/react
v2. I use@tailwindcss/forms
. The new method of checkboxing-ing usesdiv
s, rather than inputs of typecheckbox
, so the checkbox styling from@tailwindcss/forms
no longer works. Is there a new way of applying the styles?I looked, and it seems that there isn't a supported way to emulate states, though I can apply the
form-checkbox
class to get some styles.Example:
If you hit check, it is selected, but it doesn't show it.
Is there a way to work around this?
Note
I am using Preact via Fresh, but that doesn't seem to be related.
Beta Was this translation helpful? Give feedback.
All reactions