dev #14607 Море. Правки по сайту: remove date input blur
This commit is contained in:
parent
eb15e47328
commit
1b8cb2b185
@ -31,10 +31,10 @@ export class CreateUserComponent {
|
|||||||
|
|
||||||
focusHandler(e: any) {
|
focusHandler(e: any) {
|
||||||
if (!this.focused) {
|
if (!this.focused) {
|
||||||
e.target.blur();
|
setTimeout(() => {
|
||||||
e.target.setSelectionRange(0, 0);
|
e.target.setSelectionRange(0, 0);
|
||||||
|
}, 0);
|
||||||
this.focused = true;
|
this.focused = true;
|
||||||
e.target.focus();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user