From 6f1a3d74708b42a2c17bcfe0d1590afcfbf50ed1 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 {