2
0
mirror of https://github.com/frappe/books.git synced 2024-11-10 15:50:56 +00:00
- now takes an array of accepted file types
This commit is contained in:
Faris Ansari 2018-07-15 17:10:19 +05:30
parent 3a2ca34ac0
commit 9d3726cf5c

View File

@ -44,7 +44,8 @@ export default {
required: this.docfield.required, required: this.docfield.required,
disabled: this.disabled, disabled: this.disabled,
webkitdirectory: this.docfield.directory, webkitdirectory: this.docfield.directory,
directory: this.docfield.directory directory: this.docfield.directory,
accept: (this.docfield.filetypes || []).join(',')
}; };
}, },
getInputListeners() { getInputListeners() {