I have an <input> tag which i am using for uploading the .csv files. It looks like it works totally ok in my Mac OS chrome and other browsers but the same allows all the other files that can be uploaded in Windows.
<input
type="file"
id="fileElem"
accept=".csv"
style={{ display: 'none' }}
onChange={onChange}
/>
Any leads where am I going wrong?