What controls the number of items displayed in a drop down list for md-autocomplete.
I have space for more than the 5 that are being displayed.
What controls the number of items displayed in a drop down list for md-autocomplete.
I have space for more than the 5 that are being displayed.
Do you mean increase the height of the autocomplete results container? If that's the case, this is not yet posible with angular-material
out of the box. See this closed issue.
As it's posted in an issue comment, as a workaround you can use a little css hack. Something like this:
.md-virtual-repeat-container.md-autocomplete-suggestions-container {
height: 350px;
max-height: 350px !important;
}
You can see it working on this plunker. Hope it helps