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();
|
await this.addFolder();
|
||||||
break;
|
break;
|
||||||
case 'focusSearch':
|
case 'focusSearch':
|
||||||
(document.querySelector('#search') as HTMLInputElement).focus();
|
(document.querySelector('#search') as HTMLInputElement).select();
|
||||||
detectChanges = false;
|
detectChanges = false;
|
||||||
break;
|
break;
|
||||||
case 'openPasswordGenerator':
|
case 'openPasswordGenerator':
|
||||||
|
|
Loading…
Reference in New Issue