ui-kit icon indicating copy to clipboard operation
ui-kit copied to clipboard

Add `<ScrollToFieldError>` component

Open emmenko opened this issue 4 years ago • 1 comments

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.

emmenko avatar Mar 25 '22 07:03 emmenko

The implementation and usage to be checked internally.

mmaltsev-ct avatar May 23 '22 08:05 mmaltsev-ct