We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d307c1 commit 1f440b7Copy full SHA for 1f440b7
src/InputFile.vue
@@ -19,7 +19,7 @@ export default {
19
this.$parent.addInputFile(e.target)
20
if (e.target.files) {
21
e.target.value = ''
22
- if (!/safari/i.test(navigator.userAgent)) {
+ if (e.target.files.length && !/safari/i.test(navigator.userAgent)) {
23
e.target.type = ''
24
e.target.type = 'file'
25
}
0 commit comments