From cb5d0e8886a2d0271fad607ef91bd8eb25b8e2a3 Mon Sep 17 00:00:00 2001 From: Maurizio Vitale Date: Tue, 20 Jun 2017 18:52:09 +0100 Subject: [PATCH] Fix compilation error (#1993) --- .../src/components/widgets/core/form-field.model.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ng2-components/ng2-activiti-form/src/components/widgets/core/form-field.model.ts b/ng2-components/ng2-activiti-form/src/components/widgets/core/form-field.model.ts index c3c65df077..1040f5b477 100644 --- a/ng2-components/ng2-activiti-form/src/components/widgets/core/form-field.model.ts +++ b/ng2-components/ng2-activiti-form/src/components/widgets/core/form-field.model.ts @@ -106,8 +106,8 @@ export class FormFieldModel extends FormWidgetModel { } set readOnly(readOnly: boolean) { - return this._readOnly = readOnly; this.updateForm(); + this._readOnly = readOnly; } get isValid(): boolean {