mirror of
https://github.com/frappe/books.git
synced 2024-11-10 15:50:56 +00:00
File
- now takes an array of accepted file types
This commit is contained in:
parent
3a2ca34ac0
commit
9d3726cf5c
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user