Skip to content

Commit 9725130

Browse files
gen4spNatsuke
authored andcommitted
angular-ui#453 hide input in bootstrap theme only if search enabled
angular-ui#453
1 parent d2f904a commit 9725130

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/bootstrap/match.tpl.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
<div class="ui-select-match" ng-hide="$select.open" ng-disabled="$select.disabled" ng-class="{'btn-default-focus':$select.focus}">
1+
<div class="ui-select-match" ng-hide="$select.open && $select.searchEnalbed" ng-disabled="$select.disabled" ng-class="{'btn-default-focus':$select.focus}">
22
<span tabindex="-1"
33
class="btn btn-default form-control ui-select-toggle"
44
aria-label="{{ $select.baseTitle }} activate"
5-
ng-disabled="$select.disabled"
5+
ng-disabled="$select.disabled"
66
ng-click="$select.activate()"
77
style="outline: 0;">
88
<span ng-show="$select.isEmpty()" class="ui-select-placeholder text-muted">{{$select.placeholder}}</span>
99
<span ng-hide="$select.isEmpty()" class="ui-select-match-text pull-left" ng-class="{'ui-select-allow-clear': $select.allowClear && !$select.isEmpty()}" ng-transclude=""></span>
1010
<i class="caret pull-right" ng-click="$select.toggle($event)"></i>
11-
<a ng-show="$select.allowClear && !$select.isEmpty()" aria-label="{{ $select.baseTitle }} clear" style="margin-right: 10px"
11+
<a ng-show="$select.allowClear && !$select.isEmpty()" aria-label="{{ $select.baseTitle }} clear" style="margin-right: 10px"
1212
ng-click="$select.clear($event)" class="btn btn-xs btn-link pull-right">
1313
<i class="glyphicon glyphicon-remove" aria-hidden="true"></i>
1414
</a>

0 commit comments

Comments
 (0)