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

Commit 4da17a4

Browse files
docs(typeahead): demo how to limit number of matches
1 parent 90a8aa7 commit 4da17a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/typeahead/docs/demo.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<div class='container-fluid' ng-controller="TypeaheadCtrl">
22
<pre>Model: {{selected| json}}</pre>
3-
<input type="text" ng-model="selected" typeahead="state for state in states | filter:$viewValue">
3+
<input type="text" ng-model="selected" typeahead="state for state in states | filter:$viewValue | limitTo:8">
44
</div>

0 commit comments

Comments
 (0)