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

Commit

Permalink
fix(uiSelectNoChoice): support Select2 theme
Browse files Browse the repository at this point in the history
Adds uiSelectNoChoice support for the select2 theme

Closes #1608
  • Loading branch information
stefannikolic authored and user378230 committed Jul 7, 2016
1 parent a41a7fc commit e59e008
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/select2/no-choice.tpl.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<div class="ui-select-no-choice dropdown"
ng-show="$select.items.length == 0">
<div class="dropdown-content">
<div data-selectable="" ng-transclude></div>
</div>
</div>
1 change: 1 addition & 0 deletions src/select2/select.tpl.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@
ng-model="$select.search">
</div>
<div class="ui-select-choices"></div>
<div class="ui-select-no-choice"></div>
</div>
</div>

0 comments on commit e59e008

Please sign in to comment.