Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

check if input is touched react

const [touched, setTouched] = useState(false);
<input onChange={() => { setTouched(true); }} />
 
PREVIOUS NEXT
Tagged: #check #input #touched #react
ADD COMMENT
Topic
Name
4+6 =