React how to trigger form submit on input blur?
问题 I'm trying to make use of the HTML5 <input type="email" /> validation check. I can get it working fine doing this: <form> <input type="email" /> <input type="submit" /> </form> This gets the validation to work on clicking the sumbit button. However I'd like to trigger the form to submit upon having my email field blur. How do I trigger the form without a submit button onBlur ? Like this: <form> <input type="email" onBlur={/* trigger form submission */} /> </form> Alternatively, is there a