react-final-form
react-final-form copied to clipboard
Redux-form asyncBlurField equivalent in React-final-form
Anybody know how to run a validation rule on blur from a field. I have async request that checks for the availability of login id. Need to make this check when the user finish entering the loginid and blur out from the field. Right now, I pass the validate function to the Field and it's firing on each and every key stroke in the field. I want to do it only on blur from the field.
The Form has a validateOnBlur option that might do what you want: <Form validateOnBlur={true} ... />. There is an issue with this and submit though: https://github.com/final-form/final-form/issues/213