mirror of
https://github.com/frappe/books.git
synced 2024-12-23 11:29:03 +00:00
Set type in File button to avoid form submit
This commit is contained in:
parent
3da057f091
commit
46a44976ef
@ -21,6 +21,9 @@ export default {
|
||||
domProps: {
|
||||
textContent: fileName
|
||||
},
|
||||
attrs: {
|
||||
type: 'button'
|
||||
},
|
||||
on: {
|
||||
click: () => this.$refs.input.click()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user