Commit 67a0007d authored by Jean-Baptiste Nizet's avatar Jean-Baptiste Nizet
Browse files

fix: avoid preselecting the first suggested completion

parent 6c4bb612
...@@ -11,7 +11,8 @@ ...@@ -11,7 +11,8 @@
class="form-control form-control-lg" class="form-control form-control-lg"
placeholder="Exemples : pisum sativum, rosa" placeholder="Exemples : pisum sativum, rosa"
formControlName="search" formControlName="search"
[ngbTypeahead]="suggesterTypeahead"> [ngbTypeahead]="suggesterTypeahead"
[focusFirst]="false">
<div class="input-group-append"> <div class="input-group-append">
<button class="btn btn-outline-secondary">Recherche</button> <button class="btn btn-outline-secondary">Recherche</button>
</div> </div>
......
...@@ -9,7 +9,8 @@ ...@@ -9,7 +9,8 @@
class="form-control" class="form-control"
placeholder="Exemples : pisum sativum, rosa" placeholder="Exemples : pisum sativum, rosa"
formControlName="search" formControlName="search"
[ngbTypeahead]="suggesterTypeahead"> [ngbTypeahead]="suggesterTypeahead"
[focusFirst]="false">
<div class="input-group-append"> <div class="input-group-append">
<button class="btn btn-outline-secondary">Recherche</button> <button class="btn btn-outline-secondary">Recherche</button>
</div> </div>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment