We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6dfc5d0 + c9f6f00 commit c10f1efCopy full SHA for c10f1ef
src/select.js
@@ -111,7 +111,7 @@
111
ctrl.refreshDelay = undefined; // Initialized inside uiSelectChoices directive link function
112
113
ctrl.isEmpty = function() {
114
- return angular.isUndefined(ctrl.selected) || ctrl.selected === null;
+ return angular.isUndefined(ctrl.selected) || ctrl.selected === null || ctrl.selected === '';
115
};
116
117
var _searchInput = $element.querySelectorAll('input.ui-select-search');
0 commit comments