Is focusing the first field with an error when validation fails after submitting a form possible?
I'm looking for something equivalent to: https://react-hook-form.com/docs/useform#shouldFocusError
1 Reply
subsequent-cyan•7mo ago
Hi @b4r0k there is an open discussion https://github.com/TanStack/form/discussions/715 for this feature and I'm working on a PR that would let you do this yourself on the developer end (custom meta), But as it stands no not currently...
Perhaps give the discussion an interaction as the discussions page is a good gage for us on what features to develop next.
GitHub
Feature suggestion: Focus on first errored field · TanStack form · ...
This would improve the accessibility of the form