Created
December 9, 2015 16:55
-
-
Save gabor-farkas/84f8e9bd1880d6a9f669 to your computer and use it in GitHub Desktop.
blog/ngmodel/mdAutocomplete
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<md-autocomplete | |
md-selected-item="selectedItem" | |
md-search-text="searchText" | |
md-items="item in ctrl.items" | |
md-min-length="0"> | |
<md-item-template> | |
{{item}} | |
</md-item-template> | |
</md-autocomplete> | |
<bind-expression name="selectedItem" ng-required="true" expression="selectedItem" ng-model="ctrl.selectedItem" /> | |
<bind-expression expression="searchText" ng-model="ctrl.searchText" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment