-
Hi there Is there a way to validate input values to highlight focus and borders if they are incorrect? I want to achieve a result similar to the effect below. |
Beta Was this translation helpful? Give feedback.
Answered by
vnbaaij
Jul 19, 2023
Replies: 1 comment 1 reply
-
We will add this to the library for v3.0 final. As a workaround, add this somewhere in your CSS: .invalid::part(root) {
outline: 1px solid var(--error);
}
.invalid[role='checkbox']::part(control) {
outline: 1px solid var(--error);
} |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
dimohy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We will add this to the library for v3.0 final. As a workaround, add this somewhere in your CSS:
Will give you this: