visibillity rules change to evaluate child rules on a change.
This commit is contained in:
parent
ad84ff8235
commit
35b7c8190a
|
@ -38,10 +38,13 @@ export class VisibilityRulesService {
|
|||
for (let i = 0; i < visibilityRule.sourceVisibilityRules.length; i++) {
|
||||
if (value != null && (this.parseValue(value) !== this.parseValue(visibilityRule.sourceVisibilityRules[i].sourceControlValue))) {
|
||||
this.elementVisibilityMap.set(visibilityRule.targetControlId, false);
|
||||
this.updateValueAndVisibility(visibilityRule.targetControlId, null);
|
||||
// this.clearValues(targetPathKey);
|
||||
return;
|
||||
}
|
||||
}
|
||||
this.elementVisibilityMap.set(visibilityRule.targetControlId, true);
|
||||
this.updateValueAndVisibility(visibilityRule.targetControlId, null);
|
||||
}
|
||||
|
||||
parseValue(value: any) {
|
||||
|
|
Loading…
Reference in New Issue