mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Use built-in type in typedInput
This commit is contained in:
parent
f424f07e54
commit
121372802f
@ -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') {
|
||||
|
Loading…
Reference in New Issue
Block a user