angularjs - "show more" directive for angular material autocomplete in md-menu-class -
i using angular material autocomplete show results.everything coming perfect except want show results in set of 10 in dropdown , have "show more" kind of utility after last result in dropdown handle event next 10 results. has tried hook directive in md-menu-class template achieve same. here in md-autocomplete code in jade
md-autocomplete(md-selected-item="selecteditem",md-search-text-change="textchange()", md-selected-item-change = "itemchange(item)", md-search-text="searchtext",md-items="item in getautosuggest(searchtext)",md-item-text="item.fields.input[0]",md-min-length="3",md-floating-label="search",hide-sm,show-gt-sm) md-item-template span(md-highlight-text="searchtext",md-highlight-flags="^i"){{item.fields.virgininput[0]}} in {{item.fields.location[0]}} in {{item.fields.identifier[0]}} md-not-found sorry don't have matching results "{{searchtext}}"
thanks
Comments
Post a Comment