Skip to content

Conversation

@moufmouf
Copy link
Contributor

In order not to display a red input when the user did not interact yet with the form, we use user-invalid instead of invalid pseudo-class.

In order not to display a red input when the user did not interact yet with the form, we use user-invalid instead of invalid pseudo-class.
We use "custom" pseudo-element while waiting for Tailwind support:
tailwindlabs/tailwindcss#12370
@moufmouf moufmouf merged commit 8f97ba0 into main Sep 25, 2024
1 check failed
@moufmouf moufmouf deleted the user-invalid branch September 25, 2024 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants