JSFiddle - React, Tailwind, and code Playground

HTML

<input type="time" name="exit" id="teacher-entry-exit-form-exit-input" class="form-control" value="08:56" required="">

    
<input type="time" name="exit" id="teacher-entry-exit-form-exit-input" class="form-control" value="20:56" required="">