From 43ffce5d0d30872446c51afaf786d5cfad4378be Mon Sep 17 00:00:00 2001 From: imamSidero Date: Tue, 24 Jan 2023 16:03:54 +0000 Subject: Provide add/edit constraints capability to inputs in properties page Providing the capability to add or edit constraints to inputs in properies of a service Issue-ID: SDC-4346 Signed-off-by: Imam hussain Change-Id: I56261441022751a191fe057aafa4c681c8db96c5 --- catalog-ui/src/app/models/properties.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'catalog-ui/src/app/models') diff --git a/catalog-ui/src/app/models/properties.ts b/catalog-ui/src/app/models/properties.ts index 65158de23d..80575c4221 100644 --- a/catalog-ui/src/app/models/properties.ts +++ b/catalog-ui/src/app/models/properties.ts @@ -89,12 +89,12 @@ export class PropertyModel extends PropertyBEModel implements IPropertyModel { filterTerm:string; isAlreadySelected:boolean; addOn:string; - + propertyView: boolean = false; constructor(property?:PropertyModel) { super(property); if (property) { - // this.constraints = property.constraints; + this.constraints = property.constraints; this.source = property.source; this.valueUniqueUid = property.valueUniqueUid; this.path = property.path; @@ -105,6 +105,7 @@ export class PropertyModel extends PropertyBEModel implements IPropertyModel { this.componentInstanceId = property.componentInstanceId; this.parentValue = property.parentValue; this.ownerId = property.ownerId; + this.propertyView = property.propertyView; } if (!this.schema || !this.schema.property) { -- cgit 1.2.3-korg