when invoke ctrl/command+f select all text in the "Search Vault" input (#131)
This commit is contained in:
parent
1e56d84674
commit
32c2469a17
|
@ -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':
|
||||
|
|
Loading…
Reference in New Issue