readonly value set

This commit is contained in:
Eugenio Romano
2017-06-17 18:24:43 +01:00
parent 8e30af9d46
commit 44161dc4d5

View File

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