Fix compilation error (#1993)

This commit is contained in:
Maurizio Vitale
2017-06-20 18:52:09 +01:00
committed by Eugenio Romano
parent 0669575cb8
commit cb5d0e8886

View File

@@ -106,8 +106,8 @@ export class FormFieldModel extends FormWidgetModel {
} }
set readOnly(readOnly: boolean) { set readOnly(readOnly: boolean) {
return this._readOnly = readOnly;
this.updateForm(); this.updateForm();
this._readOnly = readOnly;
} }
get isValid(): boolean { get isValid(): boolean {