2
0
mirror of https://github.com/frappe/books.git synced 2024-11-13 00:46:28 +00:00

Set type in File button to avoid form submit

This commit is contained in:
Faris Ansari 2018-07-15 12:51:04 +05:30
parent 3da057f091
commit 46a44976ef

View File

@ -21,6 +21,9 @@ export default {
domProps: {
textContent: fileName
},
attrs: {
type: 'button'
},
on: {
click: () => this.$refs.input.click()
}