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) {
|
||||
if (!this.focused) {
|
||||
e.target.blur();
|
||||
e.target.setSelectionRange(0, 0);
|
||||
setTimeout(() => {
|
||||
e.target.setSelectionRange(0, 0);
|
||||
}, 0);
|
||||
this.focused = true;
|
||||
e.target.focus();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user