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:
parent
dfb7aa39c6
commit
82a1b85b24
|
@ -442,7 +442,7 @@ function Form(): JSX.Element {
|
|||
|
||||
<input type='file'
|
||||
id='file'
|
||||
accept="application/pdf,image/png"
|
||||
accept="application/pdf,.png"
|
||||
ref={inputFile}
|
||||
style={{display: 'none'}}
|
||||
/>
|
||||
|
|
Loading…
Reference in New Issue