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:
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