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

Commit e59e008

Browse files
stefannikolicuser378230
stefannikolic
authored andcommitted
fix(uiSelectNoChoice): support Select2 theme
Adds uiSelectNoChoice support for the select2 theme Closes #1608
1 parent a41a7fc commit e59e008

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/select2/no-choice.tpl.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<div class="ui-select-no-choice dropdown"
2+
ng-show="$select.items.length == 0">
3+
<div class="dropdown-content">
4+
<div data-selectable="" ng-transclude></div>
5+
</div>
6+
</div>

src/select2/select.tpl.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@
1717
ng-model="$select.search">
1818
</div>
1919
<div class="ui-select-choices"></div>
20+
<div class="ui-select-no-choice"></div>
2021
</div>
2122
</div>

0 commit comments

Comments
 (0)