final-form / final-form/final-form-focus

Is it possible to use final-form-focus without using <form> tag?

Open
#15 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
81
Forks
18
PR merge metrics
No merged PRs in 30d

Description

Check this demo: https://codesandbox.io/s/react-final-form-focus-on-first-error-ib23b

If you avoid `````` tag and you use just
```Submit```, validation is provided but focus is not there.

Problem with `````` is that, that even Enter on textbox will trigger it or even worse every other button without specifying type="".
It would be also helpful to have it without `````` tag

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.