fix typedInput error on empty subflow input types

pull/2624/head
Hiroyasu Nishiyama 2020-06-23 09:24:29 +09:00
parent 5596d2df8e
commit fb2d185c5f
1 changed files with 2 additions and 1 deletions

View File

@ -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);
}
});