Skip to content

Commit 40b0d1b

Browse files
chore: input accept only pdf files
1 parent 7dd2881 commit 40b0d1b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/VuePdfEditor.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
type="file"
1313
name="pdf"
1414
class="hidden"
15+
accept="application/pdf"
1516
@change="onUploadPDF">
1617
<input id="image"
1718
type="file"

0 commit comments

Comments
 (0)