mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +00:00
AAE-23521 fix trigger error check
This commit is contained in:
@@ -180,16 +180,10 @@ export class DropdownCloudWidgetComponent extends WidgetComponent implements OnI
|
|||||||
)
|
)
|
||||||
.subscribe((value) => {
|
.subscribe((value) => {
|
||||||
this.setOptionValue(value, this.field);
|
this.setOptionValue(value, this.field);
|
||||||
|
this.handleErrors();
|
||||||
this.selectionChangedForField(this.field);
|
this.selectionChangedForField(this.field);
|
||||||
});
|
});
|
||||||
|
|
||||||
this.dropdownControl.statusChanges
|
|
||||||
.pipe(
|
|
||||||
filter(() => !!this.field),
|
|
||||||
takeUntil(this.onDestroy$)
|
|
||||||
)
|
|
||||||
.subscribe(() => this.handleErrors());
|
|
||||||
|
|
||||||
this.dropdownControl.setValue(this.field?.value, { emitEvent: false });
|
this.dropdownControl.setValue(this.field?.value, { emitEvent: false });
|
||||||
this.handleErrors();
|
this.handleErrors();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user