mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
parent
be7e28af5d
commit
439af2a325
@ -351,7 +351,9 @@
|
|||||||
} else {
|
} else {
|
||||||
selectField.width("auto")
|
selectField.width("auto")
|
||||||
}
|
}
|
||||||
|
if (fieldToFocus) {
|
||||||
fieldToFocus.typedInput("focus");
|
fieldToFocus.typedInput("focus");
|
||||||
|
}
|
||||||
// Preselect the contents of the element
|
// Preselect the contents of the element
|
||||||
// if (focusValueField && document.activeElement) {
|
// if (focusValueField && document.activeElement) {
|
||||||
// document.activeElement.selectionStart = 0;
|
// document.activeElement.selectionStart = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user