1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-11-12 10:04:44 +01:00

when invoke ctrl/command+f select all text in the "Search Vault" input (#131)

This commit is contained in:
ra1nb0w 2018-08-30 14:25:54 +02:00 committed by Kyle Spearrin
parent 1e56d84674
commit 32c2469a17

View File

@ -98,7 +98,7 @@ export class VaultComponent implements OnInit, OnDestroy {
await this.addFolder();
break;
case 'focusSearch':
(document.querySelector('#search') as HTMLInputElement).focus();
(document.querySelector('#search') as HTMLInputElement).select();
detectChanges = false;
break;
case 'openPasswordGenerator':