aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/view-models
diff options
context:
space:
mode:
authorfranciscovila <javier.paradela.vila@est.tech>2023-06-01 07:59:31 +0100
committerVasyl Razinkov <vasyl.razinkov@est.tech>2023-06-14 21:47:35 +0000
commit56288ac75d57367587442043743879b8649055ac (patch)
tree1309d8ef1ed95c3db6d0219fc09c7826c5761f30 /catalog-ui/src/app/view-models
parentacd364bb34d1288e3999c5c6ccf5fa8fba752e22 (diff)
Fix different issues when adding properties
Issue-ID: SDC-4522 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I6408570e5a3b571f3222f31ae30910061736a6c9
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-model.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/catalog-ui/src/app/view-models/forms/property-forms/component-property-form/property-form-view-model.ts b/catalog-ui/src/app/view-models/forms/property-forms/component-property-form/property-form-view-model.ts
index fc0581a5c1..0be5193298 100644
--- a/catalog-ui/src/app/view-models/forms/property-forms/component-property-form/property-form-view-model.ts
+++ b/catalog-ui/src/app/view-models/forms/property-forms/component-property-form/property-form-view-model.ts
@@ -246,7 +246,7 @@ export class PropertyFormViewModel {
this.$scope.myValue = {'': null};
break;
case PROPERTY_TYPES.LIST:
- this.$scope.myValue = [];
+ this.$scope.myValue = [''];
break;
default:
this.$scope.myValue = {};