[ADF-1688] Update value for the form field when is empty string (#2450)

This commit is contained in:
Vito
2017-10-09 12:10:48 +01:00
committed by Eugenio Romano
parent 5f7bb98efe
commit 317ca76741

View File

@@ -73,7 +73,7 @@ export class PeopleWidgetComponent extends WidgetComponent implements OnInit {
} }
if (this.isValueDefined() && this.value.trim().length === 0) { if (this.isValueDefined() && this.value.trim().length === 0) {
this.oldValue = this.value; this.oldValue = this.value;
this.field.validationSummary = ''; this.field.value = this.value;
this.users = []; this.users = [];
} }
} }