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

10 lines
611 B
HTML
Raw Normal View History

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">
<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>