Skip to content

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

@jjant

Description

@jjant

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions