-
Notifications
You must be signed in to change notification settings - Fork 77
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
Focus required input like components on form submit #4681
Comments
Kind of related to #3406. All form associated components need a highlighted error state for when they are invalid. "Focus" isn't the right word because only one element can be focused at a time. |
What I meant to say was focusing the first invalid required input. https://codepen.io/COV-GIS/pen/JjpZaKO If all invalid inputs magically had an invalid status and the first was focused that would be amazing. And the logical follow up behavior would be any input automatically reverting back to idle once its requirement was met. |
Yep that makes sense to me 👍 |
This may depend on #8126. cc @geospatialem @benelan |
Blocked by #8126 per #4681 (comment) |
Description
Focus required input like components on form submit like native HTML.
Blocked issues: #8126
Acceptance Criteria
As described.
Relevant Info
No response
Which Component
All input like components which can be required in a form.
Example Use Case
Native HTML like behavior would make forms more user friendly. The browser still points out the input is required but user has to navigate to focus the input.
The text was updated successfully, but these errors were encountered: