diff --git a/packages/node_modules/@node-red/nodes/core/storage/10-file.html b/packages/node_modules/@node-red/nodes/core/storage/10-file.html index 45a825b50..ddddcb687 100755 --- a/packages/node_modules/@node-red/nodes/core/storage/10-file.html +++ b/packages/node_modules/@node-red/nodes/core/storage/10-file.html @@ -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") });