summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/view-models
diff options
context:
space:
mode:
authorimamSidero <imam.hussain@est.tech>2023-01-17 10:59:29 +0000
committerMichael Morris <michael.morris@est.tech>2023-01-20 10:58:07 +0000
commitb3a71f9ed5cc99a9d2104e1dba1278a44f087bb3 (patch)
tree979eda1418f8d6798c56596d0dc7d9d307dc868d /catalog-ui/src/app/view-models
parent3ef8252b29317f8fec99fd93c38e9f306639e6bb (diff)
Provide tosca function as list primitive type entry values in composition view
Providing the capability to add tosca function as the primitive type entry values of list in composition view Issue-ID: SDC-4333 Signed-off-by: Imam hussain <imam.hussain@est.tech> Change-Id: Iba1c3e72a1f30c19f4cc136f2d725b738cca47b1
Diffstat (limited to 'catalog-ui/src/app/view-models')
-rw-r--r--catalog-ui/src/app/view-models/forms/property-forms/component-property-form/property-form-view.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/catalog-ui/src/app/view-models/forms/property-forms/component-property-form/property-form-view.html b/catalog-ui/src/app/view-models/forms/property-forms/component-property-form/property-form-view.html
index 48a85e4fcc..6a9013cce6 100644
--- a/catalog-ui/src/app/view-models/forms/property-forms/component-property-form/property-form-view.html
+++ b/catalog-ui/src/app/view-models/forms/property-forms/component-property-form/property-form-view.html
@@ -146,7 +146,7 @@
<input type="radio" name="hasGetFunctionValue"
ng-model="editPropertyModel.hasGetFunctionValue"
ng-value="false"
- ng-change="onValueTypeChange()"/> Entries
+ ng-change="onValueTypeChange()"/> {{(editPropertyModel.property.type == 'map' || editPropertyModel.property.type == 'list') ? 'Entries' : 'Value'}}
<input type="radio" name="hasGetFunctionValue"
ng-model="editPropertyModel.hasGetFunctionValue"
ng-value="true"
@@ -190,6 +190,8 @@
<div ng-switch-when="list">
<type-list value-obj-ref="myValue"
schema-property="editPropertyModel.property.schema.property"
+ parent-property="editPropertyModel.property"
+ component-instance-map="componentInstanceMap"
parent-form-obj="forms.editForm"
fields-prefix-name="currentPropertyIndex"
read-only="editPropertyModel.property.readonly && !isPropertyValueOwner"