-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Typeahead MinLength=0 #412
Typeahead MinLength=0 #412
Conversation
also fixes duplicate issue #187 |
@@ -266,6 +282,13 @@ export class Typeahead implements OnInit { | |||
return; | |||
} | |||
|
|||
if (!this.cd.model) { | |||
for (let i = 0; i < this.typeahead.length; i++) { |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
@rbaarsma looks good to me! |
@rbaarsma I have reread your issue about showing all options, |
@valorkin I have implemented your comments. I'm not sure what you mean with the special As for rebasing it on latest. Unfortunately I'm pretty new to working with pull requests with open source projects and I don't want to do anything wrong. I did update my branch to the latest version. I thought you could simply merge it like this, but if I need to do something else can you please tell me what to do exactly to rebase :)? |
ok, looks good to me! |
@valorkin updated readme. I think you can merge it now 😄 |
Great! Merged |
Made it possible to use the TypeaheadMinLength feature with value=0. This will show the entire list of options as soon as the 'focus' event is fired and also when you remove all text.
Would add feature for #413