2
0
mirror of https://github.com/frappe/books.git synced 2024-12-23 03:19:01 +00:00

fix: Read Only prop override

This commit is contained in:
Faris Ansari 2019-12-23 19:02:49 +05:30
parent bef259bd84
commit 7dd6dbc9af

View File

@ -67,7 +67,10 @@ export default {
return this.placeholder || this.df.placeholder;
},
isReadOnly() {
return this.readOnly || this.df.readOnly;
if (this.readOnly != null) {
return this.readOnly;
}
return this.df.readOnly;
}
},
methods: {