We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d5289ee + c10f1ef commit 59f6e14Copy full SHA for 59f6e14
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