diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/subflow.js b/packages/node_modules/@node-red/editor-client/src/js/ui/subflow.js index f787c5375..88a42063f 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/subflow.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/subflow.js @@ -1438,7 +1438,8 @@ RED.subflow = (function() { }).on("change", function(evt,type) { if (ui.type === 'input') { - ui.opts.types = inputCellInput.typedInput('value').split(","); + var types = inputCellInput.typedInput('value'); + ui.opts.types = (types === "") ? ["str"] : types.split(","); valueField.typedInput('types',ui.opts.types); } });