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

Commit c5862b0

Browse files
demo(typeahead): correct demo for asyn results
Fixes #1740
1 parent 3111501 commit c5862b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/typeahead/docs/demo.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ <h4>Static arrays</h4>
1212

1313
<h4>Asynchronous results</h4>
1414
<pre>Model: {{asyncSelected | json}}</pre>
15-
<input type="text" ng-model="asyncSelected" placeholder="Locations loaded via $http" typeahead="address for address in getLocation($viewValue) | filter:$viewValue" typeahead-loading="loadingLocations" class="form-control">
15+
<input type="text" ng-model="asyncSelected" placeholder="Locations loaded via $http" typeahead="address for address in getLocation($viewValue)" typeahead-loading="loadingLocations" class="form-control">
1616
<i ng-show="loadingLocations" class="glyphicon glyphicon-refresh"></i>
1717

1818
<h4>Custom templates for results</h4>

0 commit comments

Comments
 (0)