[SDC-29] rebase continue work to align source
[sdc.git] / catalog-ui / src / app / ng2 / components / dynamic-element / elements-ui / dropdown / ui-element-dropdown.component.ts
index 208bf54..b1fb37a 100644 (file)
@@ -18,7 +18,6 @@ export class DropdownValue {
   styleUrls: ['./ui-element-dropdown.component.less'],
 })
 export class UiElementDropDownComponent extends UiElementBase implements UiElementBaseInterface {
-
   @Input()
   values: DropdownValue[];
 
@@ -27,7 +26,7 @@ export class UiElementDropDownComponent extends UiElementBase implements UiEleme
   }
 
     onSave() {
-        this.baseEmitter.emit(this.value);
+        this.baseEmitter.emit(JSON.parse(this.value));
     }
 
 }