Browse Source

UI: Fix Math Function node to display and persist 0 as default argument value

pull/13727/head
Vladyslav Prykhodko 1 year ago
parent
commit
285cf422cc
  1. 2
      ui-ngx/src/app/modules/home/components/rule-node/common/arguments-map-config.component.ts

2
ui-ngx/src/app/modules/home/components/rule-node/common/arguments-map-config.component.ts

@ -194,7 +194,7 @@ export class ArgumentsMapConfigComponent extends PageComponent implements Contro
key: [property?.key, [Validators.required]],
name: [ArgumentName[index], [Validators.required]],
attributeScope: [property?.attributeScope ?? AttributeScope.SERVER_SCOPE, [Validators.required]],
defaultValue: [property?.defaultValue ? property?.defaultValue : null]
defaultValue: [property?.defaultValue ?? null]
});
this.updateArgumentControlValidators(argumentControl);
argumentControl.get('type').valueChanges.pipe(

Loading…
Cancel
Save