[PM-2135] feat: change autofocus target

This commit is contained in:
Andreas Coroiu 2023-05-05 11:29:22 +02:00
parent f06844521f
commit e13e1734dd
No known key found for this signature in database
GPG Key ID: E70B5FFC81DFEC1A
1 changed files with 1 additions and 2 deletions

View File

@ -16,7 +16,7 @@
<ng-container *ngIf="usesKeyConnector">
<div class="tw-mb-6">
<label class="tw-block">{{ "sendVerificationCode" | i18n }}</label>
<button type="button" bitButton buttonType="secondary" [bitAction]="requestOTP">
<button type="button" bitButton buttonType="secondary" [bitAction]="requestOTP" appAutofocus>
{{ "sendCode" | i18n }}
</button>
<span class="tw-ml-2 tw-text-success" role="alert" @sent *ngIf="sentCode">
@ -33,7 +33,6 @@
id="verificationCode"
name="verificationCode"
[formControl]="secret"
appAutofocus
appInputVerbatim
/>
<bit-hint>{{ "confirmIdentity" | i18n }}</bit-hint>