-
Couldn't load subscription status.
- Fork 342
Description
Description
Currently allowedContentTypes for input options only seems to accept very specific MIME types. The expected results would be that the allowedContentTypes array would match how a DOM <input accept="<allowedContentTypes>" performs.
Specific Issues
Noticed mismatch on:
blanket MIME types (image/*, audio/*)
specific extensions (.dae, .dxf)
Reproduction
Using the demo .ts and .html files, append options to include:
allowedContentTypes: ['image/*', '.dae']
This results in the input rejecting all image files and .dae extension files.
Append <input accept="image/*, .dae" /> and image files and .dae extensions are no longer rejected, but are the only files allowed to be selected for upload.