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