Rule node models improvements

This commit is contained in:
Igor Kulikov 2020-04-17 17:23:37 +03:00
parent 056f2a28a7
commit 8b206b1760

View File

@ -126,7 +126,7 @@ export abstract class RuleNodeConfigurationComponent extends PageComponent imple
control = control.get(part); control = control.get(part);
} }
control.valueChanges.subscribe(() => { control.valueChanges.subscribe(() => {
this.updateValidators(true); this.updateValidators(true, trigger);
}); });
} }
this.configForm().valueChanges.subscribe((updated: RuleNodeConfiguration) => { this.configForm().valueChanges.subscribe((updated: RuleNodeConfiguration) => {
@ -139,7 +139,7 @@ export abstract class RuleNodeConfigurationComponent extends PageComponent imple
this.updateValidators(false); this.updateValidators(false);
} }
protected updateValidators(emitEvent: boolean) { protected updateValidators(emitEvent: boolean, trigger?: string) {
} }
protected validatorTriggers(): string[] { protected validatorTriggers(): string[] {