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, + }, }; }