file icon indicating copy to clipboard operation
file copied to clipboard

Document that File.Select.file/files' Mime type argument might not be respected

Open jjant opened this issue 3 years ago • 0 comments

Basically, the accept attribute doesn't really work that well (setting it to just image/png will still let iOS users pick any image/* from their gallery, and will let android users pick videos).


I think the docs for these functions should do either or both of:

  • Explain that it uses accept under the hood (I had to read the source to find that out)
  • Explain that this is not a reliable way to filter file types

jjant avatar Dec 01 '21 11:12 jjant