I'm using "typeahead"
[typeaheadItemTemplate]="customItemTemplate"
[typeaheadOptionField]="'name'"
(typeaheadOnSelect)="typeaheadOnSelect($event)"
class="form-control">
How do open the list "statesComplex" and select it when focus on input. I mean it like with example "Typeahead inside a form" on this link http://valor-software.com/ng2-bootstrap/#/typeahead
Thanks
If I have read your question right, what you are missing is:
[typeaheadMinLength]="0"
Which opens the list as soon as you click on the input.
@chriscbrock thank for your help!
Would be cool to add this to an example to the demo page.
Most helpful comment
If I have read your question right, what you are missing is:
[typeaheadMinLength]="0"
Which opens the list as soon as you click on the input.