JSFiddle - React, Tailwind, and code Playground
by Eric Hynds
HTML
<input type="file" id="foo" />
JavaScript
document.getElementById("foo").setAttribute("type","email");
by Eric Hynds
<input type="file" id="foo" />
document.getElementById("foo").setAttribute("type","email");