Adding a header template in MD-AutoComplete Results in Angular Material -


i have requirement add link above results section in md-autocomplete. have work around or in built method can add header template in md-autocomplete

    <md-autocomplete md-selected-item="selecteditem" md-search-text="searchtext" md-items="item in getmatches(searchtext)" md-item-text="item.display">   <md-item-template>     <span md-highlight-text="searchtext">{{item.display}}</span>   </md-item-template>   <md-not-found>     no matches found.   </md-not-found> </md-autocomplete> 


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -