mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 01:03:35 +00:00
toggle password focus on add/edit
This commit is contained in:
@@ -209,6 +209,7 @@ export class AddEditComponent implements OnChanges {
|
|||||||
togglePassword() {
|
togglePassword() {
|
||||||
this.analytics.eventTrack.next({ action: 'Toggled Password on Edit' });
|
this.analytics.eventTrack.next({ action: 'Toggled Password on Edit' });
|
||||||
this.showPassword = !this.showPassword;
|
this.showPassword = !this.showPassword;
|
||||||
|
document.getElementById('loginPassword').focus();
|
||||||
}
|
}
|
||||||
|
|
||||||
toggleFieldValue(field: FieldView) {
|
toggleFieldValue(field: FieldView) {
|
||||||
|
|||||||
Reference in New Issue
Block a user