From 526fb05d5c7d0e154f7df2f622045059105451e5 Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Fri, 12 Mar 2021 12:52:15 +0100 Subject: [PATCH] Fix data inputs becoming runtime inputs when cloning step --- client/src/components/Workflow/Editor/modules/forms.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/Workflow/Editor/modules/forms.js b/client/src/components/Workflow/Editor/modules/forms.js index 4b641eb4d96..f7256bcfc6d 100644 --- a/client/src/components/Workflow/Editor/modules/forms.js +++ b/client/src/components/Workflow/Editor/modules/forms.js @@ -108,7 +108,7 @@ export class ToolForm { const inputs = node.config_form.inputs; Utils.deepeach(inputs, (input) => { if (input.type) { - if (["data", "data_collection"].indexOf(input.type) != -1) { + if (["data", "data_collection", "hidden"].indexOf(input.type) != -1) { input.type = "hidden"; input.info = `Data input '${input.name}' (${Utils.textify(input.extensions)})`; input.value = { __class__: "RuntimeValue" };