diff --git a/src/w11k-select.js b/src/w11k-select.js index 2c0ffc1..394eacf 100644 --- a/src/w11k-select.js +++ b/src/w11k-select.js @@ -67,7 +67,8 @@ angular.module('w11k.select').constant('w11kSelectConfig', { marginBottom: '10px', /** static or manually calculated max height (disables internal height calculation) */ maxHeight: undefined - } + }, + showAlwaysClear: false } }); @@ -324,7 +325,7 @@ angular.module('w11k.select').directive('w11kSelect', [ $timeout(function () { adjustHeight(); jqDropDownMenu.css(visibility, 'visible'); - + if (scope.config.filter.active) { // use timeout to open dropdown first and then set the focus, // otherwise focus won't be set because element is not visible diff --git a/src/w11k-select.tpl.html b/src/w11k-select.tpl.html index d2617cf..b573975 100644 --- a/src/w11k-select.tpl.html +++ b/src/w11k-select.tpl.html @@ -1,6 +1,6 @@