mempool/frontend/src/app/components/search-form/search-form.component.html

10 lines
595 B
HTML
Raw Normal View History

<form [formGroup]="searchForm" (submit)="searchForm.valid && search()" novalidate>
<div class="d-flex">
<div class="search-box-container mr-2">
<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">
</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>
</div>
2020-02-17 20:39:20 +07:00
</div>
</form>