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" >
2022-08-25 19:29:21 +04:00
< input ( focus )=" focus $. next ($ any ($ event ). target . value )" ( click )=" click $. next ($ any ($ event ). target . value )" formControlName = "searchText" type = "text" class = "form-control" i18n-placeholder = "search-form.searchbar-placeholder" placeholder = "Search the full Bitcoin ecosystem" >
2022-05-15 14:47:55 +04:00
< app-search-results # searchResults [ results ]=" typeAhead $ | async " [ searchTerm ]=" searchForm . get (' searchText '). value " ( selectedResult )=" selectedResult ($ event )" ></ app-search-results >
2020-02-16 22:15:07 +07:00
</ div >
2020-02-17 20:39:20 +07:00
< div >
2020-12-03 18:34:19 +07:00
< button [ disabled ]=" isSearching " type = "submit" class = "btn btn-block btn-primary" >< fa-icon [ icon ]="[' fas ', ' search ']" [ fixedWidth ]=" true " i18n-title = "search-form.search-title" title = "Search" ></ fa-icon ></ button >
2020-02-16 22:15:07 +07:00
</ div >
2020-02-17 20:39:20 +07:00
</ div >
2020-12-02 04:19:33 +09:00
</ form >