I tried to filter file format to accept only .txt
in HTML. Here's my HTML code:
<Input
type="file"
accept="text/plain"
/>
In Safari, it works and only .txt
files show up, but in Chrome (63.0.3239.84) the file selector also shows .csv
files.
Is it possible to exclude .csv
files in Chrome?