mirror of
https://github.com/frappe/books.git
synced 2024-11-10 07:40:55 +00:00
fix: Read Only prop override
This commit is contained in:
parent
bef259bd84
commit
7dd6dbc9af
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user