mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Merge pull request #3185 from node-red/switch-focus-fix
Fix rule focus when switch 'otherwise' rule is used
This commit is contained in:
		| @@ -351,7 +351,9 @@ | ||||
|                         } else { | ||||
|                             selectField.width("auto") | ||||
|                         } | ||||
|                         fieldToFocus.typedInput("focus"); | ||||
|                         if (fieldToFocus) { | ||||
|                             fieldToFocus.typedInput("focus"); | ||||
|                         } | ||||
|                         // Preselect the contents of the element | ||||
|                         // if (focusValueField && document.activeElement) { | ||||
|                         //     document.activeElement.selectionStart = 0; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user