From 1db74cb39a9e67f782f015e161606c95f2e287c3 Mon Sep 17 00:00:00 2001 From: Rob Stupay Date: Mon, 14 May 2018 11:35:42 +0200 Subject: [PATCH] multiParmaMan update --- src/multiParamManager.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/multiParamManager.js b/src/multiParamManager.js index 171ed49fbf..4f6d544274 100644 --- a/src/multiParamManager.js +++ b/src/multiParamManager.js @@ -63,8 +63,10 @@ class MultiParamManager { var multiInputs = this.multiFields.querySelectorAll('input') console.log('ml length ' + multiInputs.length) for (var k = 0; k < multiInputs.length; k++) { - multiInputs[k].value = inputJSON[k] - console.log('inputJSON number ' + k + ' is ' + inputJSON[k]) + if (inputJSON[k]) { + multiInputs[k].value = inputJSON[k] + console.log('inputJSON number ' + k + ' is ' + inputJSON[k]) + } } }