perf(form): focus first validation error on submit
- scope validation queries with a form root id so feedback stays inside the submitted form. - scroll to the earliest invalid control or message and move focus without fighting scroll position. - avoid handling the same failed submit twice to keep retries from jumping unexpectedly.
Showing
Please
register
or
sign in
to comment