that react htmlFor isn't hidding input field with label. Maybe someone could tell me, what I am doing wrong?
My code:
<input name="tes" id="tes" type="file" className="inputfile" />
<label htmlFor="tes">
<span>Upload</span>
</label>