mirror of
https://github.com/frappe/books.git
synced 2024-12-23 11:29:03 +00:00
File button placeholder text
This commit is contained in:
parent
26380ac3f6
commit
ffdce49f89
@ -10,7 +10,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
getWrapperElement(h) {
|
||||
let fileName = this._('Choose a file..');
|
||||
let fileName = this.docfield.placeholder || this._('Choose a file..');
|
||||
|
||||
if (this.$refs.input && this.$refs.input.files.length) {
|
||||
fileName = this.$refs.input.files[0].name;
|
||||
|
Loading…
Reference in New Issue
Block a user