mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-10 14:11:42 +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) => {
|
||||
this.setOptionValue(value, this.field);
|
||||
this.handleErrors();
|
||||
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.handleErrors();
|
||||
}
|
||||
|
Reference in New Issue
Block a user