2020-09-22 05:51:34 +07:00
|
|
|
<form [formGroup]="searchForm" (submit)="searchForm.valid && search()" novalidate>
|
|
|
|
<div class="d-flex">
|
|
|
|
<div class="search-box-container mr-2">
|
2020-09-23 16:48:10 +07:00
|
|
|
<input #instance="ngbTypeahead" [ngbTypeahead]="typeaheadSearch" (selectItem)="itemSelected()" (focus)="focus$.next($any($event).target.value)" (click)="click$.next($any($event).target.value)" formControlName="searchText" type="text" class="form-control" placeholder="TXID, block height, hash or address">
|
2020-02-16 22:15:07 +07:00
|
|
|
</div>
|
2020-02-17 20:39:20 +07:00
|
|
|
<div>
|
2020-11-22 16:03:23 +07:00
|
|
|
<button [disabled]="isSearching" type="submit" class="btn btn-block btn-primary"><fa-icon [icon]="['fas', 'search']" [fixedWidth]="true" title="Search"></fa-icon></button>
|
2020-02-16 22:15:07 +07:00
|
|
|
</div>
|
2020-02-17 20:39:20 +07:00
|
|
|
</div>
|
|
|
|
</form>
|