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

Commit 919e9c4

Browse files
Jefiozieuser378230
authored andcommitted
docs(demo): fix incorrect ui-select-match
Closes #1757 Related #1685
1 parent 76cf9c3 commit 919e9c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/examples/demo-select2-with-bootstrap.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<div class="col-sm-6">
2525

2626
<ui-select multiple sortable="true" ng-model="ctrl.person.selected" theme="select2" class="form-control" title="Choose a person">
27-
<ui-select-match placeholder="Select or search a person in the list...">{{$select.selected.name}}</ui-select-match>
27+
<ui-select-match placeholder="Select or search a person in the list...">{{$item.name}}</ui-select-match>
2828
<ui-select-choices repeat="item in ctrl.people | filter: $select.search">
2929
<div ng-bind-html="item.name | highlight: $select.search"></div>
3030
<small ng-bind-html="item.email | highlight: $select.search"></small>

0 commit comments

Comments
 (0)