summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/view-models
diff options
context:
space:
mode:
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 fbd9408ea8..17e82099ab 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
@@ -425,7 +425,7 @@ export class PropertyFormViewModel {
this.$scope.onSchemaTypeChange = ():void => {
if (this.$scope.editPropertyModel.property.type == PROPERTY_TYPES.MAP) {
- this.$scope.myValue = {'': null};
+ this.$scope.myValue = {};
} else if (this.$scope.editPropertyModel.property.type == PROPERTY_TYPES.LIST) {
this.$scope.myValue = [];
}