From 7dd6dbc9afec775f248595572a4cf56d028c1753 Mon Sep 17 00:00:00 2001 From: Faris Ansari Date: Mon, 23 Dec 2019 19:02:49 +0530 Subject: [PATCH] fix: Read Only prop override --- src/components/Controls/Base.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/Controls/Base.vue b/src/components/Controls/Base.vue index 97b14c2e..df05f384 100644 --- a/src/components/Controls/Base.vue +++ b/src/components/Controls/Base.vue @@ -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: {