Fix constraint not added when creating property 79/132979/2
authorJvD_Ericsson <jeff.van.dam@est.tech>
Fri, 20 Jan 2023 10:26:17 +0000 (10:26 +0000)
committerVasyl Razinkov <vasyl.razinkov@est.tech>
Mon, 23 Jan 2023 15:28:36 +0000 (15:28 +0000)
Issue-ID: SDC-4342
Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
Change-Id: I4bc4751993b47e85a8acf31c94febee92996232a

catalog-ui/src/app/models/properties.ts

index 9124596..65158de 100644 (file)
@@ -129,6 +129,7 @@ export class PropertyModel extends PropertyBEModel implements IPropertyModel {
             "defaultValue": this.defaultValue != "" && this.defaultValue != "[]" && this.defaultValue != "{}" ? this.defaultValue : null,
             "description": this.description,
             "constraints": this.constraints,
+            "propertyConstraints": this.propertyConstraints,
             "isPassword": this.password || false,
             "schema": this.schema,
             "name": this.name