Browse Source
Merge pull request #13727 from vvlladd28/bug/rule-node/math-function-default
Rule node UI: show 0 in the “Argument default value” field of the Math Function node
pull/13737/head
Igor Kulikov
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
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]], |
|
|
key: [property?.key, [Validators.required]], |
|
|
name: [ArgumentName[index], [Validators.required]], |
|
|
name: [ArgumentName[index], [Validators.required]], |
|
|
attributeScope: [property?.attributeScope ?? AttributeScope.SERVER_SCOPE, [Validators.required]], |
|
|
attributeScope: [property?.attributeScope ?? AttributeScope.SERVER_SCOPE, [Validators.required]], |
|
|
defaultValue: [property?.defaultValue ? property?.defaultValue : null] |
|
|
defaultValue: [property?.defaultValue ?? null] |
|
|
}); |
|
|
}); |
|
|
this.updateArgumentControlValidators(argumentControl); |
|
|
this.updateArgumentControlValidators(argumentControl); |
|
|
argumentControl.get('type').valueChanges.pipe( |
|
|
argumentControl.get('type').valueChanges.pipe( |
|
|
|