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

Add <ScrollToFieldError> component #2155

Open
emmenko opened this issue Mar 25, 2022 · 1 comment
Open

Add <ScrollToFieldError> component #2155

emmenko opened this issue Mar 25, 2022 · 1 comment

Comments

@emmenko
Copy link
Member

emmenko commented Mar 25, 2022

Is your feature request related to a problem? Please describe.

When implementing forms, and there are potential validation errors, you might want the user to see the validation errors upon submitting the form.

If the form page is long, it can happen that the field with the validation error is "out of view".

Describe the solution you'd like

Provide a component that ensures the first form field with a validation error is visible on the page.

NOTE: we have already implemented this component and are testing it internally. Once we're happy with it, we can open source it in ui-kit.

@mmaltsev-ct
Copy link
Contributor

The implementation and usage to be checked internally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants