JSFiddle - React, Tailwind, and code Playground

by Claudius

HTML

<form>

<input 
name="resp_mail"
required="required" 
onchange="try{setCustomValidity(' ')}catch(e){}" 
onkeypress="try{setCustomValidity(' ')}catch(e){}" 
oninvalid="setCustomValidity('Custom error message')" 
type="email" 
placeholder="Enter mail"
/>

<input type='submit' value='Send' name='bar' type='post'/>
</form>