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

Commit

Permalink
Merge branch 'master' of github.com:angular-ui/ui-select
Browse files Browse the repository at this point in the history
  • Loading branch information
dimirc committed Aug 4, 2014
2 parents d5289ee + c10f1ef commit 59f6e14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/select.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
ctrl.refreshDelay = undefined; // Initialized inside uiSelectChoices directive link function

ctrl.isEmpty = function() {
return angular.isUndefined(ctrl.selected) || ctrl.selected === null;
return angular.isUndefined(ctrl.selected) || ctrl.selected === null || ctrl.selected === '';
};

var _searchInput = $element.querySelectorAll('input.ui-select-search');
Expand Down

0 comments on commit 59f6e14

Please sign in to comment.