JSFiddle - React, Tailwind, and code Playground

HTML

<form>
   <input type="date">
   <input name="document" type="file">
</form>

<br>
<br>

<form>
   <input type="date">
   <input type="file">
</form>