1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-24 12:06:15 +01:00

SM-717-proj (#5832)

* SM-717 auto focus on project name

* Update bitwarden_license/bit-web/src/app/secrets-manager/projects/dialog/project-dialog.component.html

Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>

* removing unused code

* Setting auto focus on secrets and service account dialot

* Adding auto focus to new access token dialog

---------

Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>
This commit is contained in:
cd-bitwarden 2023-08-03 16:25:07 -04:00 committed by GitHub
parent 5832235e47
commit a26c94737a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@
</div>
<bit-form-field *ngIf="!loading">
<bit-label>{{ "projectName" | i18n }}</bit-label>
<input formControlName="name" maxlength="1000" bitInput />
<input appAutofocus formControlName="name" maxlength="1000" bitInput />
</bit-form-field>
</span>
<ng-container bitDialogFooter>

View File

@ -11,7 +11,7 @@
<div class="tw-flex tw-gap-4 tw-pt-4">
<bit-form-field class="tw-w-1/3">
<bit-label for="secret-name">{{ "name" | i18n }}</bit-label>
<input formControlName="name" bitInput />
<input appAutofocus formControlName="name" bitInput />
</bit-form-field>
<bit-form-field class="tw-w-full">
<bit-label>{{ "value" | i18n }}</bit-label>

View File

@ -10,7 +10,7 @@
<div bitDialogContent>
<bit-form-field>
<bit-label>{{ "name" | i18n }}</bit-label>
<input bitInput formControlName="name" />
<input bitInput appAutofocus formControlName="name" />
</bit-form-field>
<sm-expiration-options
formControlName="expirationDateControl"

View File

@ -8,7 +8,7 @@
<div *ngIf="!loading">
<bit-form-field>
<bit-label>{{ "serviceAccountName" | i18n }}</bit-label>
<input formControlName="name" maxlength="1000" bitInput />
<input appAutofocus formControlName="name" maxlength="1000" bitInput />
</bit-form-field>
</div>
</div>