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

Commit f769b47

Browse files
committed
Update demo-event-on-select.html
Change to use the new, clearly labelled function.
1 parent 4467b82 commit f769b47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/demo-event-on-select.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464

6565
<h3>Select2 theme</h3>
6666
<p>Selected: {{person.selected}}</p>
67-
<ui-select ng-model="person.selected" theme="select2" on-select="someFunction($item, $model)" ng-disabled="disabled" style="min-width: 300px;" title="Choose a person">
67+
<ui-select ng-model="person.selected" theme="select2" on-select="onSelectCallback($item, $model)" ng-disabled="disabled" style="min-width: 300px;" title="Choose a person">
6868
<ui-select-match placeholder="Select a person in the list or search his name/age...">{{$select.selected.name}}</ui-select-match>
6969
<ui-select-choices repeat="person.email as person in people | propsFilter: {name: $select.search, age: $select.search}">
7070
<div ng-bind-html="person.name | highlight: $select.search"></div>

0 commit comments

Comments
 (0)