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

Bootstrap4 template choices.tpl.html #2074

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
416 changes: 312 additions & 104 deletions dist/select.css

Large diffs are not rendered by default.

72 changes: 42 additions & 30 deletions dist/select.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/select.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/select.min.css.map

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions dist/select.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/select.min.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions docs/examples/demo-append-to-body.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.css">

<button class="btn btn-default btn-xs" ng-click="ctrl.enable()">Enable ui-select</button>
<button class="btn btn-default btn-xs" ng-click="ctrl.disable()">Disable ui-select</button>
<button class="btn btn-default btn-xs" ng-click="ctrl.appendToBodyDemo.startToggleTimer()"
Expand Down
1 change: 1 addition & 0 deletions docs/examples/demo-basic.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.css">
<button class="btn btn-default btn-xs" ng-click="ctrl.enable()">Enable ui-select</button>
<button class="btn btn-default btn-xs" ng-click="ctrl.disable()">Disable ui-select</button>
<button class="btn btn-default btn-xs" ng-click="ctrl.clear()">Clear ng-model</button>
Expand Down
5 changes: 3 additions & 2 deletions docs/examples/demo-bind-to-single-property-async.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
 <button class="btn btn-default btn-xs" ng-click="ctrl.enable()">Enable ui-select</button>
 <link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.css">
<button class="btn btn-default btn-xs" ng-click="ctrl.enable()">Enable ui-select</button>
<button class="btn btn-default btn-xs" ng-click="ctrl.disable()">Disable ui-select</button>
<button class="btn btn-default btn-xs" ng-click="ctrl.clear()">Clear ng-model</button>

<h3>Select2 theme</h3>
<h4>Single property binding with async data</h4>

<p>Selected: <code> {{ctrl.personAsync.selected | json }}</code></p>
<p>Selected: <code> {{ctrl.personAsync.selected | json }}</code></p>
<p>List Count: <code>{{ (ctrl.peopleAsync || []).length }}</code></p>

<ui-select ng-model="ctrl.personAsync.selected" theme="select2" ng-disabled="ctrl.disabled" style="min-width: 300px;" title="Single property binding with async data">
Expand Down
6 changes: 4 additions & 2 deletions docs/examples/demo-bind-to-single-property.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
 <button class="btn btn-default btn-xs" ng-click="ctrl.enable()">Enable ui-select</button>
 <link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.css">

<button class="btn btn-default btn-xs" ng-click="ctrl.enable()">Enable ui-select</button>
<button class="btn btn-default btn-xs" ng-click="ctrl.disable()">Disable ui-select</button>
<button class="btn btn-default btn-xs" ng-click="ctrl.clear()">Clear ng-model</button>

Expand All @@ -19,4 +21,4 @@ <h3>Select2 theme</h3>
<br>
<br>
<button class="btn btn-primary" ng-click="ctrl.person.selected = 'wladimir@email.com'">Change Model</button>
<p>Runs <code>ctrl.person.selected = 'wladimir@email.com'</code></p>
<p>Runs <code>ctrl.person.selected = 'wladimir@email.com'</code></p>
Loading