mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Default to msg.filename as per v2 condition
This commit is contained in:
parent
59e513f130
commit
f63da0c58b
@ -198,8 +198,8 @@
|
||||
category: 'storage',
|
||||
defaults: {
|
||||
name: {value:""},
|
||||
filename: {value:""},
|
||||
filenameType: {value:""},
|
||||
filename: {value:"filename"},
|
||||
filenameType: {value:"msg"},
|
||||
appendNewline: {value:true},
|
||||
createDir: {value:false},
|
||||
overwriteFile: {value:"false"},
|
||||
@ -236,7 +236,7 @@
|
||||
label: node._("file.encoding.setbymsg")
|
||||
}).text(label).appendTo(encSel);
|
||||
$("#node-input-filename").typedInput({
|
||||
default: "str",
|
||||
default: "msg",
|
||||
types:[{ value: "str", label:"", icon:"red/images/typedInput/az.svg"}, "msg", "jsonata", "env"],
|
||||
typeField: $("#node-input-filenameType")
|
||||
});
|
||||
@ -297,8 +297,8 @@
|
||||
category: 'storage',
|
||||
defaults: {
|
||||
name: {value:""},
|
||||
filename: {value:""},
|
||||
filenameType: {value:""},
|
||||
filename: {value:"filename"},
|
||||
filenameType: {value:"msg"},
|
||||
format: {value:"utf8"},
|
||||
chunk: {value:false},
|
||||
sendError: {value: false},
|
||||
@ -341,7 +341,7 @@
|
||||
label: label
|
||||
}).text(label).appendTo(encSel);
|
||||
$("#node-input-filename").typedInput({
|
||||
default: "str",
|
||||
default: "msg",
|
||||
types:[{ value: "str", label:"", icon:"red/images/typedInput/az.svg"}, "msg", "jsonata", "env"],
|
||||
typeField: $("#node-input-filenameType")
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user