<input type="file" accept="application/pdf"> Does not work on chrome android

Viewed 190

In my webapp I have this piece of html. On my mac and I presume on any pc when I click on it I see a window where I can choose a file and only .PDF are enabled; But when I try the very same page from my android I can choose files or camera and whatever I pick I can always choose any type of file.

Is there a way to make this work on Android too ?

<input class="form-control" name="document_upload" type="file"
                                   accept=".pdf" required id="document_upload">
0 Answers
Related