Use built-in type in typedInput

This commit is contained in:
Kazuhito Yokoi 2022-05-26 22:50:52 +09:00
parent f424f07e54
commit 121372802f
1 changed files with 2 additions and 4 deletions

View File

@ -237,8 +237,7 @@
}).text(label).appendTo(encSel);
$("#node-input-filename").typedInput({
default: "msg",
types:[{ value: "str", label: RED._("common.type.string"),
icon: "red/images/typedInput/az.svg"}, "msg", "jsonata", "env"],
types: ["str", "msg", "jsonata", "env"],
typeField: $("#node-input-filenameType")
});
if(typeof node.filenameType == 'undefined') {
@ -343,8 +342,7 @@
}).text(label).appendTo(encSel);
$("#node-input-filename").typedInput({
default: "msg",
types:[{ value: "str", label: RED._("common.type.string"),
icon:"red/images/typedInput/az.svg"}, "msg", "jsonata", "env"],
types: ["str", "msg", "jsonata", "env"],
typeField: $("#node-input-filenameType")
});
if(typeof node.filenameType == 'undefined') {