diff options
author | imamSidero <imam.hussain@est.tech> | 2023-01-24 16:03:54 +0000 |
---|---|---|
committer | Michael Morris <michael.morris@est.tech> | 2023-01-27 18:22:19 +0000 |
commit | 43ffce5d0d30872446c51afaf786d5cfad4378be (patch) | |
tree | c5ccdb92091586525b0b567f591c402ee642aecf /catalog-ui/src/app/models/properties.ts | |
parent | e3a17890903ee443d0b5d0ee872e316e4369318d (diff) |
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 <imam.hussain@est.tech>
Change-Id: I56261441022751a191fe057aafa4c681c8db96c5
Diffstat (limited to 'catalog-ui/src/app/models/properties.ts')
-rw-r--r-- | catalog-ui/src/app/models/properties.ts | 5 |
1 files changed, 3 insertions, 2 deletions
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) { |