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
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.