mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-07 09:31:31 +01:00
toggle password focus on add/edit
This commit is contained in:
parent
8e519f5518
commit
fa0c0fa24d
@ -209,6 +209,7 @@ export class AddEditComponent implements OnChanges {
|
||||
togglePassword() {
|
||||
this.analytics.eventTrack.next({ action: 'Toggled Password on Edit' });
|
||||
this.showPassword = !this.showPassword;
|
||||
document.getElementById('loginPassword').focus();
|
||||
}
|
||||
|
||||
toggleFieldValue(field: FieldView) {
|
||||
|
Loading…
Reference in New Issue
Block a user