1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 08:43:33 +00:00

️ added autofocus on first field of modal forms (#667)

added to modals:
- invite user
- add item
- add collection
- add folder
This commit is contained in:
paulussujono
2020-10-07 00:06:44 +11:00
committed by GitHub
parent 1193a93f86
commit 6bc5ac46b7
4 changed files with 8 additions and 5 deletions

View File

@@ -12,8 +12,8 @@
<div class="row" *ngIf="!editMode">
<div class="col-6 form-group">
<label for="type">{{'whatTypeOfItem' | i18n}}</label>
<select id="type" name="Type" [(ngModel)]="cipher.type" class="form-control"
[disabled]="cipher.isDeleted">
<select id="type" name="Type" [(ngModel)]="cipher.type" class="form-control"
[disabled]="cipher.isDeleted" appAutofocus>
<option *ngFor="let o of typeOptions" [ngValue]="o.value">{{o.name}}</option>
</select>
</div>