I have a simple Form with many fields for input. After having reached Submit button upper fields are getting hidden. How is it possible to scroll to first error field after I pushed on Submit ?
Asked
Active
Viewed 1,373 times
2
-
Please provide enough code so others can better understand or reproduce the problem. – Community Jun 13 '22 at 13:25
2 Answers
1
You can use the scrollToFirstError
attribute.
<Form
...
scrollToFirstError={true}
>

Kolawôlé Mangabo
- 196
- 6