Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switching from "invalid" to "user-invalid" #26

Merged
merged 2 commits into from
Sep 25, 2024
Merged

Switching from "invalid" to "user-invalid" #26

merged 2 commits into from
Sep 25, 2024

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.

1 participant