JSFiddle - React, Tailwind, and code Playground

HTML

<input id="fileupload" style="display: none;" type="file" name="fileupload">
    <label for="fileupload">test<input disabled="disabled" id="fil_field" style="cursor: pointer;" placeholder="Choose.."></label>