Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(typeahead): add support typeaheadMinLength = "0" in Typeahead #187

Closed
hongbo-miao opened this issue Feb 14, 2016 · 2 comments
Closed

Comments

@hongbo-miao
Copy link
Contributor

There is an API of Typeahead in ng2-bootstrap.

typeaheadMinLength (?number=1) - minimal no of characters that needs to be entered before typeahead kicks-in. Must be greater than or equal to 1.

Right now, it should be greater than or equal to 1. Please support 0. So when the input gets focus, it will show automatically.

Like angular-ui supports this. And one demo using 0 works well.

typeahead-min-length $ (Default: 1) - Minimal no of characters that needs to be entered before typeahead kicks-in. Must be greater than or equal to 0.

Thanks

@hongbo-miao hongbo-miao changed the title Please allow typeaheadMinLength = "0" in Typeahead Please support typeaheadMinLength = "0" in Typeahead Feb 24, 2016
@tzielins
Copy link

A useful feature to present the default options.

@valorkin valorkin changed the title Please support typeaheadMinLength = "0" in Typeahead chore(typeahead): add support typeaheadMinLength = "0" in Typeahead Mar 24, 2016
@valorkin
Copy link
Member

good feature, will be done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants