Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Commit

Permalink
docs(typeahead): demo how to limit number of matches
Browse files Browse the repository at this point in the history
  • Loading branch information
pkozlowski-opensource committed Jul 5, 2013
1 parent 90a8aa7 commit 4da17a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/typeahead/docs/demo.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class='container-fluid' ng-controller="TypeaheadCtrl">
<pre>Model: {{selected| json}}</pre>
<input type="text" ng-model="selected" typeahead="state for state in states | filter:$viewValue">
<input type="text" ng-model="selected" typeahead="state for state in states | filter:$viewValue | limitTo:8">
</div>

0 comments on commit 4da17a4

Please sign in to comment.