From b393375823e5e6fea5615519218f77e94759bd01 Mon Sep 17 00:00:00 2001 From: nathan Date: Mon, 23 Aug 2021 15:26:00 -0600 Subject: [PATCH] Fix readonly property to match parent --- api/js/etemplate/et2_core_inputWidget.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/api/js/etemplate/et2_core_inputWidget.ts b/api/js/etemplate/et2_core_inputWidget.ts index d51a7a88dd..f7cfb041fb 100644 --- a/api/js/etemplate/et2_core_inputWidget.ts +++ b/api/js/etemplate/et2_core_inputWidget.ts @@ -415,10 +415,12 @@ export const Et2InputWidget = (superClass: T) => { return { ...super.properties, - readonly: { + // readOnly is what the property is in Lion, readonly is the attribute + readOnly: { type: Boolean, - reflect: true - } + attribute: 'readonly', + reflect: true, + }, }; }