diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/multiple-input-widget.component.ts b/ui-ngx/src/app/modules/home/components/widget/lib/multiple-input-widget.component.ts index 64fb98b386..6b4feda426 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/multiple-input-widget.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/multiple-input-widget.component.ts @@ -783,10 +783,10 @@ export class MultipleInputWidgetComponent extends PageComponent implements OnIni } }).afterClosed().subscribe( (res) => { - if (!isEqual(res, formControl.value)) { + if (isDefined(res) && !isEqual(res, formControl.value)) { formControl.patchValue(res); formControl.markAsDirty(); - if(!this.settings.showActionButtons) { + if (!this.settings.showActionButtons) { this.inputChanged(source, key); } }