summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
3464d7f)
Signed-off-by: KIRAN KASHALKAR <kiran.kashalkar@riftio.com>
let vld = _.cloneDeep(this.vld);
this.vldInitParamsTypes.map((vldInitParamType) => {
if (currentVLDInitParamsType == vldInitParamType) {
let vld = _.cloneDeep(this.vld);
this.vldInitParamsTypes.map((vldInitParamType) => {
if (currentVLDInitParamsType == vldInitParamType) {
- vld[currentVLDInitParamsType] = e.target.value;
+ let value = e.target.nodeName == "SELECT" ? JSON.parse(e.target.value) : e.target.value;
+ vld[currentVLDInitParamsType] = value;
} else {
vld[vldInitParamType] && delete vld[vldInitParamType];
}
} else {
vld[vldInitParamType] && delete vld[vldInitParamType];
}