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

xtianus79 picture xtianus79  路  3Comments

LoganDupont picture LoganDupont  路  3Comments

jelbourn picture jelbourn  路  3Comments

3mp3ri0r picture 3mp3ri0r  路  3Comments

dzrust picture dzrust  路  3Comments