mirror of
https://github.com/bitwarden/browser
synced 2026-02-14 15:33:55 +00:00
[PM-2014] feat: autofocus fields
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
</p>
|
||||
<bit-form-field disableMargin formGroupName="userVerification">
|
||||
<bit-label>{{ "masterPassword" | i18n }}</bit-label>
|
||||
<input type="password" bitInput formControlName="masterPassword" />
|
||||
<input type="password" bitInput formControlName="masterPassword" appAutofocus />
|
||||
<button type="button" bitIconButton bitSuffix bitPasswordInputToggle></button>
|
||||
<bit-hint>{{ "confirmIdentity" | i18n }}</bit-hint>
|
||||
</bit-form-field>
|
||||
@@ -39,7 +39,7 @@
|
||||
</p>
|
||||
<bit-form-field disableMargin formGroupName="credentialNaming">
|
||||
<bit-label>{{ "customName" | i18n }}</bit-label>
|
||||
<input type="text" bitInput formControlName="name" />
|
||||
<input type="text" bitInput formControlName="name" appAutofocus />
|
||||
<bit-hint>{{
|
||||
"charactersCurrentAndMaximum"
|
||||
| i18n : formGroup.value.credentialNaming.name.length : NameMaxCharacters
|
||||
|
||||
Reference in New Issue
Block a user