We've got a web application with:
<input type="file" accept="application/pdf"/>
Application must run on iPad. But the problem comes up when user tries to select PDF file from iCloud Drive. All files are available. Image/* works fine (it greys out all non-images).
I've also tried
<input type="file" accept=".pdf, application/x-pdf, application/vnd.pdf, text/pdf"/>
but it doesn't work.
Edit:
Still didn't find any way to fix that. For now, application has validation on server side.
Seems to be an iOS Safari issue, referenced here :
https://openradar.appspot.com/36726477
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With