file
file copied to clipboard
Document that File.Select.file/files' Mime type argument might not be respected
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