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

Commit f5b76cf

Browse files
committed
Merge pull request #1489 from kedrzu/master
fix(choices.tpl.html) properly hide and show dropdown Fixes dropdown being shown even when it is not open. Updated ng-show `$select.open` instead of `$select.items`.
2 parents 96632ff + e65995f commit f5b76cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/choices.tpl.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<ul class="ui-select-choices ui-select-choices-content ui-select-dropdown dropdown-menu"
22
role="listbox"
3-
ng-show="$select.items.length > 0">
3+
ng-show="$select.open">
44
<li class="ui-select-choices-group" id="ui-select-choices-{{ $select.generatedId }}" >
55
<div class="divider" ng-show="$select.isGrouped && $index > 0"></div>
66
<div ng-show="$select.isGrouped" class="ui-select-choices-group-label dropdown-header" ng-bind="$group.name"></div>

0 commit comments

Comments
 (0)