react-final-form-html5-validation
react-final-form-html5-validation copied to clipboard
A swap-in replacement for 🏁 React Final Form's <Field> component to provide HTML5 Validation
### Are you submitting a **bug report** or a **feature request**? Bug report ### What is the current behavior? Asynchronously reinitialized fields (form prop `initialValues` changes) do not trigger validation....
### **bug report**/**feature request** ### What is the current behavior? React 17 is not listed as a peerDependency, causing NPM to throw "could not resolve dependency" when using React 17....
As mentioned in #27, with the new React version, this should probably be reflected in the peerDependencies as well. This PR does just that!
Any idea where I can get hold of typescript types for this please?
### What is the current behavior? Valid input when enter: abc.def@mail ### What is the expected behavior? Show error on: abc.def@mail - invalid email ### Other information you can check...
### Are you submitting a **bug report** or a **feature request**? Bug report ### What is the current behavior? If `required` prop is initially `true`, then the validate function continues...
### bug report ### What is the current behavior? Programmatically set html5 validated fields don't get set to valid. ### What is the expected behavior? Valid programmatically set values should...
Another good reason you might consider adding to the "Why not add this functionality directly into the officially bundled Field component?" section of the readme is that HTML5 validation has...
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.  I wonder if this is design limitation or a bug....