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
{{ message }}
This repository has been archived by the owner on Aug 26, 2023. It is now read-only.
When uploading certain files the type will be an empty string in the addedFiles and rejectedFiles object.
This isn't an issue when not using [acceptedTypes], but when using that these files will always be rejected.
I have tested this on the demo page on MacOS and Windows with a Chromium browser.
For me this has happend with .dmg & .msg files:
The text was updated successfully, but these errors were encountered:
This happens regardless of the accept parameter. If I try this on the demo page (where the parameter is set to *), as mentioned, this issue also occurs.
When reading the file using FileReader it will read as type application/octet-stream for my testing .dmg and .msg files, but the acceptedFiles array will not contain the file types.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When uploading certain files the type will be an empty string in the
addedFiles
andrejectedFiles
object.This isn't an issue when not using
[acceptedTypes]
, but when using that these files will always be rejected.I have tested this on the demo page on MacOS and Windows with a Chromium browser.
For me this has happend with
.dmg
&.msg
files:The text was updated successfully, but these errors were encountered: