title: Select folder instead of single file - input
body: <p>I want the input type to be folder and not a single file. How can I select a folder instead of just a single file. Also how can I then access each file in that selected folder. I tried this to select a folder but didn't work. I am on chrome. </p>
  
  <pre><code> &lt;input id="myInput" type="file" style={{visibility: 'hidden'}} webkitdirectory directory multiple/&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/aG5kN.png" rel="noreferrer"><img src="https://i.stack.imgur.com/aG5kN.png" alt="enter image description here"></a></p>