acceptedFiles ignored when uploading through mobile browser.
Describe the bug acceptedFiles being ignored when uploading through a mobile browser
To Reproduce Steps to reproduce the behavior:
- Set acceptedFiles to only allow audio types eg (.wav etc..)
- Through a mobile platform click the upload link
- This will allow you to upload directly from the camera or from files, dismissing file types. (allowing JPEG files which shouldn't be possible)
- See error
Expected behavior Only file types in the acceptedFiles should be uploadable.
Browser / OS:
- OS & Device: Android 9
- Browser: Chrome
- Version: 88.0.4324
I don't have an Android device, so I can't test this. If somebody figures out a way to fix it, I'll be happy to merge it.
From what I know, it is also reproducible on iPhone through the mobile browser.
@enyo just bumping for visibility.
@enyo I have the same problem. I have two dropzone fields:
- one for the
pdfextensions, - the second for the
dxfextensions
I can choose a file for the field with pdf extensions, but for the field with dxf.
I see the file, but the file is gray and I can't upload it.
Requirements:
- IOS version: 14.7.1
- Browser: Safari, Chrome.
P.S. on the desktop all looks pretty good.
@enyo Bumping again
bump