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

fix(typeahead): fix ng-model in typeahead #6545

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/typeahead/docs/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ <h4>Asynchronous results</h4>
</div>

<h4>ngModelOptions support</h4>
<pre>Model: {{ngModelOptionsSelected | json}}</pre>
<input type="text" ng-model="ngModelOptionsSelected" ng-model-options="modelOptions" uib-typeahead="state for state in states | filter:$viewValue | limitTo:8" class="form-control">
<pre>Model: {{ngModelOptionSelected}}</pre>
<input type="text" ng-model="ngModelOptionSelected" ng-model-options="modelOptions" uib-typeahead="state for state in states | filter:$viewValue | limitTo:8" class="form-control">

<h4>Custom templates for results</h4>
<pre>Model: {{customSelected | json}}</pre>
Expand Down