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

Commit 5f53938

Browse files
committed
demo(groupBy): change demo theme to select2
1 parent 2483674 commit 5f53938

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/demo-groupby.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ <h3>Select2 theme</h3>
6666
<p>Selected: {{person.selected}}</p>
6767

6868
<h2>Grouped using a string (group-by="'country'")</h2>
69-
<ui-select ng-model="person.selected" theme="bootstrap" ng-disabled="disabled" style="min-width: 300px;">
69+
<ui-select ng-model="person.selected" theme="select2" ng-disabled="disabled" style="min-width: 300px;">
7070
<ui-select-match placeholder="Select a person in the list or search his name/age...">{{$select.selected.name}}</ui-select-match>
7171
<ui-select-choices group-by="'country'" repeat="person in people | propsFilter: {name: $select.search, age: $select.search}">
7272
<div ng-bind-html="person.name | highlight: $select.search"></div>
@@ -78,7 +78,7 @@ <h2>Grouped using a string (group-by="'country'")</h2>
7878
</ui-select>
7979

8080
<h2>Grouped using a function (group-by="someGroupFn")</h2>
81-
<ui-select ng-model="person.selected" theme="bootstrap" ng-disabled="disabled" style="min-width: 300px;">
81+
<ui-select ng-model="person.selected" theme="select2" ng-disabled="disabled" style="min-width: 300px;">
8282
<ui-select-match placeholder="Select a person in the list or search his name/age...">{{$select.selected.name}}</ui-select-match>
8383
<ui-select-choices group-by="someGroupFn" repeat="person in people | propsFilter: {name: $select.search, age: $select.search}">
8484
<div ng-bind-html="person.name | highlight: $select.search"></div>
@@ -90,7 +90,7 @@ <h2>Grouped using a function (group-by="someGroupFn")</h2>
9090
</ui-select>
9191

9292
<h2>Simple (no groupBy)</h2>
93-
<ui-select ng-model="person.selected" theme="bootstrap" ng-disabled="disabled" style="min-width: 300px;">
93+
<ui-select ng-model="person.selected" theme="select2" ng-disabled="disabled" style="min-width: 300px;">
9494
<ui-select-match placeholder="Select a person in the list or search his name/age...">{{$select.selected.name}}</ui-select-match>
9595
<ui-select-choices repeat="person in people | propsFilter: {name: $select.search, age: $select.search}">
9696
<div ng-bind-html="person.name | highlight: $select.search"></div>

0 commit comments

Comments
 (0)