How to style invalid Select when required? #3091
Unanswered
sldavidson
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Let's say I have a Select component with the
required
prop set and it doesn't have a default value. If I want to set the Select Trigger border styles red if the user hasn't selected a value, how would I go about that? I would have expected the Select or any compositional components to have a[data-invalid]
attribute similar to the[data-state]
or[data-disabled]
attributes.Beta Was this translation helpful? Give feedback.
All reactions