According to documentation this feature is already supported (when typeaheadMinLength="0", the dropdown should open on click listing available options).
But it does not work for me with version 1.3.1, nor it does on the demo page:
http://valor-software.com/ng2-bootstrap/#/typeahead#forms
(It work if after getting inside the input the backspace is pressed)
there are some kind of change detection issues, I knew about them
should be fixed soon
I've also observed this issue. Workaround for me is:
_[typeaheadMinLength]="0"_
instead of:
_typeaheadMinLength="0"_
[typeaheadMinLength]="0" this is 0 as number
and this
typeaheadMinLength="0" 0 is a string
it is not workaround, this is how angular @input binding are working
@bartosz nice reason for small PR.
I have seen your comment in email
@valorkin I am still having same issue as I could not show all options (only first 20 items out of 150 are displaying in the dropdown list on foucs). I am using "ngx-bootstrap": "^2.0.2".
Any help would be really appreciated.
Never mind, I managed to show all after adding [typeaheadOptionsLimit]="200" as additional parameter.
Most helpful comment
I've also observed this issue. Workaround for me is:
_[typeaheadMinLength]="0"_
instead of:
_typeaheadMinLength="0"_