2020-02-23 19:16:50 +07:00
|
|
|
<form [formGroup]="searchForm" (submit)="searchForm.valid && search()" class="mr-4" novalidate>
|
2020-02-17 20:39:20 +07:00
|
|
|
<div class="form-row">
|
|
|
|
<div style="width: 350px;" class="mr-2">
|
2020-07-25 17:52:41 +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="Transaction, block height, hash or address">
|
2020-02-16 22:15:07 +07:00
|
|
|
</div>
|
2020-02-17 20:39:20 +07:00
|
|
|
<div>
|
2020-03-01 23:18:03 +07:00
|
|
|
<button type="submit" class="btn btn-block btn-primary">Search</button>
|
2020-02-16 22:15:07 +07:00
|
|
|
</div>
|
2020-02-17 20:39:20 +07:00
|
|
|
</div>
|
|
|
|
</form>
|