autofocus add item form

This commit is contained in:
Kyle Spearrin 2018-01-30 15:43:08 -05:00
parent 442042f59d
commit c2160667d6
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@
</div>
<div class="box-content-row" appBoxRow>
<label for="name">{{'name' | i18n}}</label>
<input id="name" type="text" name="Name" [(ngModel)]="cipher.name">
<input id="name" type="text" name="Name" [(ngModel)]="cipher.name" [appAutofocus]="!editMode">
</div>
<!-- Login -->
<div *ngIf="cipher.type === cipherType.Login">