mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Add string label to typedInput in file nodes
This commit is contained in:
		@@ -237,7 +237,8 @@
 | 
			
		||||
            }).text(label).appendTo(encSel);
 | 
			
		||||
            $("#node-input-filename").typedInput({
 | 
			
		||||
                default: "msg",
 | 
			
		||||
                types:[{ value: "str", label:"", icon:"red/images/typedInput/az.svg"}, "msg", "jsonata", "env"],
 | 
			
		||||
                types:[{ value: "str", label: RED._("common.type.string"),
 | 
			
		||||
                         icon: "red/images/typedInput/az.svg"}, "msg", "jsonata", "env"],
 | 
			
		||||
                typeField: $("#node-input-filenameType")
 | 
			
		||||
            });
 | 
			
		||||
            if(typeof node.filenameType == 'undefined') {
 | 
			
		||||
@@ -342,7 +343,8 @@
 | 
			
		||||
            }).text(label).appendTo(encSel);
 | 
			
		||||
            $("#node-input-filename").typedInput({
 | 
			
		||||
                default: "msg",
 | 
			
		||||
                types:[{ value: "str", label:"", icon:"red/images/typedInput/az.svg"}, "msg", "jsonata", "env"],
 | 
			
		||||
                types:[{ value: "str", label: RED._("common.type.string"),
 | 
			
		||||
                         icon:"red/images/typedInput/az.svg"}, "msg", "jsonata", "env"],
 | 
			
		||||
                typeField: $("#node-input-filenameType")
 | 
			
		||||
            });
 | 
			
		||||
            if(typeof node.filenameType == 'undefined') {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user