final-form / final-form/react-final-form-html5-validation

HTML5 Field validation is not invoked on external form submit

Open
#14 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
56
Forks
8
PR merge metrics
No merged PRs in 30d

Description

Recommended practices here https://github.com/final-form/react-final-form/blob/master/docs/faq.md#how-can-i-trigger-a-submit-from-outside-my-form
don't trigger HTML5 validation, luckily another method can be used to work around the issue.

![html-validation](https://user-images.githubusercontent.com/2313018/56869049-6abd2800-69fb-11e9-82a9-56d9245c98c9.gif)

I wonder if this is design limitation or a bug.

https://codesandbox.io/s/7kk9w2ryzq

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.