You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When required is set to true on @next version of Select component, it doesn't apply the :invalid state (or any other class that I can see) that could be used to style the trigger element. The invalid state should be applied right away when the value isn't one of the items. Maybe I'm missing something.
I would also suggest a :user-invalid state that is set after an interaction with the form.
Thanks for your consideration.
Describe the bug
When
required
is set to true on @next version of Select component, it doesn't apply the :invalid state (or any other class that I can see) that could be used to style the trigger element. The invalid state should be applied right away when the value isn't one of the items. Maybe I'm missing something.I would also suggest a :user-invalid state that is set after an interaction with the form.
Thanks for your consideration.
Reproduction
https://stackblitz.com/edit/vitejs-vite-j8dpdx6g?file=src%2FApp.svelte
System Info
Severity
blocking an upgrade
The text was updated successfully, but these errors were encountered: