Rule node models improvements
This commit is contained in:
parent
056f2a28a7
commit
8b206b1760
@ -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[] {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user