Yangman - Rpc output list is appending elements instead of replacing
[dlux.git] / modules / common-yangutils-resources / src / main / resources / yangutils / services / node-wrapper.services.js
index af091f2ce733dfb7262685131095abea3a0b4eca..ac081febf40e3f6bbfeb7e1736843210d88ecc1e 100644 (file)
@@ -410,7 +410,7 @@ define([], function () {
                     newLeafListItem;
 
                 if (match) {
-
+                    node.value = [];
                     for (var i = 0; i < array.length; i++) {
                         newLeafListItem = {
                             value: array[i],