X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FUI.git;a=blobdiff_plain;f=skyquake%2Fplugins%2Flaunchpad%2Fsrc%2Fvirtual_links%2FnsVirtualLinkCreateStore.js;h=61ebe3d86a38dcc3674ea8d1b59ff8878384e5ee;hp=a3708feb549b172fcfcf2d9163710618411f782c;hb=0f164f86cf5260028ed9b241c06a4ac243f77ca5;hpb=3464d7fd909002c65fde08cf9b397ae31c5f708c diff --git a/skyquake/plugins/launchpad/src/virtual_links/nsVirtualLinkCreateStore.js b/skyquake/plugins/launchpad/src/virtual_links/nsVirtualLinkCreateStore.js index a3708feb5..61ebe3d86 100644 --- a/skyquake/plugins/launchpad/src/virtual_links/nsVirtualLinkCreateStore.js +++ b/skyquake/plugins/launchpad/src/virtual_links/nsVirtualLinkCreateStore.js @@ -172,7 +172,8 @@ class NSVirtualLinkCreateStore { 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]; }