You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Basically, the
accept
attribute doesn't really work that well (setting it to justimage/png
will still let iOS users pick anyimage/*
from their gallery, and will let android users pick videos).I think the docs for these functions should do either or both of:
accept
under the hood (I had to read the source to find that out)The text was updated successfully, but these errors were encountered: