Components: (feature) autocomplete minlength / maxlength

Created on 12 Jul 2017  路  3Comments  路  Source: angular/components

Bug, feature request, or proposal:

feature

What is the expected behavior?

component input that specifies the min/max length before autocomplete starts filtering

What is the current behavior?

user clicks on the input and all the data is shown in the dropdown

Angular JS Material has these available:
<md-autocomplete flex required md-input-minlength="2" md-input-maxlength="18"></md-autocomplete>

Most helpful comment

This is very easy to accomplish in your filtering mechanism:

https://plnkr.co/edit/mzlmxWlThdD8lrfDZtov?p=preview

All 3 comments

This is very easy to accomplish in your filtering mechanism:

https://plnkr.co/edit/mzlmxWlThdD8lrfDZtov?p=preview

Ahhh ... i didn't thank about that. Thanks @willshowell

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

_This action has been performed automatically by a bot._

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kara picture kara  路  3Comments

RoxKilly picture RoxKilly  路  3Comments

constantinlucian picture constantinlucian  路  3Comments

vitaly-t picture vitaly-t  路  3Comments

Miiekeee picture Miiekeee  路  3Comments