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

Commit 763eccb

Browse files
committed
Merge pull request #473 from jziggas/master
add missing ui-lock-choice functionality for the bootstrap theme
2 parents 0eb69f0 + 1806f98 commit 763eccb

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/bootstrap/match-multiple.tpl.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
type="button"
88
ng-disabled="$select.disabled"
99
ng-click="$select.activeMatchIndex = $index;"
10-
ng-class="{'btn-primary':$select.activeMatchIndex === $index}">
10+
ng-class="{'btn-primary':$select.activeMatchIndex === $index, 'select-locked':$select.isLocked(this, $index)}">
1111
<span class="close ui-select-match-close" ng-hide="$select.disabled" ng-click="$select.removeChoice($index)">&nbsp;&times;</span>
1212
<span uis-transclude-append></span>
1313
</span>

src/select.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@
3232
display:none;
3333
}
3434

35+
.select-locked > .ui-select-match-close{
36+
display:none;
37+
}
38+
3539
/* Selectize theme */
3640

3741
/* Helper class to show styles when focus */

0 commit comments

Comments
 (0)