selecting the input if it gets prefilled

closes #4482
This commit is contained in:
Miodec 2023-07-27 12:13:15 +02:00
parent 8612c0d2f2
commit 168055e21e

View file

@ -1344,6 +1344,9 @@ list["forgotPassword"] = new SimplePopup(
).val() as string;
if (inputValue) {
thisPopup.inputs[0].initVal = inputValue;
setTimeout(() => {
$("#simplePopup").find("input")[0].select();
}, 1);
}
},
() => {