final-form / final-form/react-final-form-html5-validation
Async validate prop always skips HTML5 validations
Open
- Dominant language
- TypeScript
- Stars
- 56
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
### Are you submitting a **bug report** or a **feature request**?
Bug
### What is the current behavior?
If you pass in an async `validate` prop to `Field`, the HTML5 validations are never checked ([because of this code](https://github.com/final-form/react-final-form-html5-validation/blob/master/src/Html5ValidationField.js#L66-L72)).
### What is the expected behavior?
The async validation will be resolved and used before continuing to the HTML5 validations.
Contributor guide
Assessment
This issue has not been assessed yet.