score:1

Accepted answer
<input
  type="text"
  value={lastLoginDate}
  onChange={(e) => setLastLoginDate(e.target.value)}
></input>

Related Query

More Query from same tag