orizens / ngx-typeahead

A simple but yet powerful typeahead component for Angular (css framework agnostic)
https://www.npmjs.com/package/ngx-typeahead
MIT License
61 stars 29 forks source link

displayOnFocus not working #45

Open JoelKap opened 4 years ago

JoelKap commented 4 years ago

Hi, It seems like [taDisplayOnFocus] doesn't seem to work or perhaps, am not using it correctly. <input type="text" placeholder="search channel" [value]="query" ngxTypeahead class="col-sm-12 form-control" [taList]="channels" [taListItemLabel]="'codeName'" [taDisplayOnFocus]="displayOnFocus" (taSelected)="handleResultSelected($event)">

pheerai commented 4 years ago

Same for me: With taDisplayOnFocus I get no ta selector, only after the first character get's entered it is filled. From that moment on, that single field works as expected.