Fix input element not accepting PDFs on older iOS devices

see https://stackoverflow.com/a/57163798 for more information on this solution
This commit is contained in:
Coteh 2021-10-03 21:33:57 -04:00
parent dfb7aa39c6
commit 82a1b85b24
1 changed files with 1 additions and 1 deletions

View File

@ -442,7 +442,7 @@ function Form(): JSX.Element {
<input type='file' <input type='file'
id='file' id='file'
accept="application/pdf,image/png" accept="application/pdf,.png"
ref={inputFile} ref={inputFile}
style={{display: 'none'}} style={{display: 'none'}}
/> />