home.component.html 441 Bytes
Newer Older
Exbrayat Cédric's avatar
Exbrayat Cédric committed
1
<div class="mt-5">
2
  <form class="input-group" [formGroup]="searchForm" (ngSubmit)="search()">
Exbrayat Cédric's avatar
Exbrayat Cédric committed
3
    <input class="form-control form-control-lg" type="text"
Jean-Baptiste Nizet's avatar
Jean-Baptiste Nizet committed
4
           placeholder="Exemples : pisum sativum, rosa"
5
6
           formControlName="search"
           [ngbTypeahead]="suggesterTypeahead">
Exbrayat Cédric's avatar
Exbrayat Cédric committed
7
8
9
10
11
    <div class="input-group-append">
      <button class="btn btn-outline-secondary" type="submit">Recherche</button>
    </div>
  </form>
</div>