Проверьте, затрачен ли вход React

const [touched, setTouched] = useState(false);
<input onChange={() => { setTouched(true); }} />
ahmad-ali14