Commit 8b206b1760a25f0767453b437876a65fa66f262d

Authored by Igor Kulikov
1 parent 056f2a28

Rule node models improvements

@@ -126,7 +126,7 @@ export abstract class RuleNodeConfigurationComponent extends PageComponent imple @@ -126,7 +126,7 @@ export abstract class RuleNodeConfigurationComponent extends PageComponent imple
126 control = control.get(part); 126 control = control.get(part);
127 } 127 }
128 control.valueChanges.subscribe(() => { 128 control.valueChanges.subscribe(() => {
129 - this.updateValidators(true); 129 + this.updateValidators(true, trigger);
130 }); 130 });
131 } 131 }
132 this.configForm().valueChanges.subscribe((updated: RuleNodeConfiguration) => { 132 this.configForm().valueChanges.subscribe((updated: RuleNodeConfiguration) => {
@@ -139,7 +139,7 @@ export abstract class RuleNodeConfigurationComponent extends PageComponent imple @@ -139,7 +139,7 @@ export abstract class RuleNodeConfigurationComponent extends PageComponent imple
139 this.updateValidators(false); 139 this.updateValidators(false);
140 } 140 }
141 141
142 - protected updateValidators(emitEvent: boolean) { 142 + protected updateValidators(emitEvent: boolean, trigger?: string) {
143 } 143 }
144 144
145 protected validatorTriggers(): string[] { 145 protected validatorTriggers(): string[] {