autofocus search in vault, resolves #34

This commit is contained in:
Kyle Spearrin 2018-02-23 16:35:15 -05:00
parent 2b67538e6d
commit d2864b823d
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<div class="header header-search">
<div class="search">
<input type="search" placeholder="{{searchPlaceholder || ('searchVault' | i18n)}}" id="search"
[(ngModel)]="searchText" />
[(ngModel)]="searchText" appAutofocus>
<i class="fa fa-search"></i>
</div>
</div>