Skip to content

Commit

Permalink
fix(autocomplete): always hide the progressbar when clearing the input
Browse files Browse the repository at this point in the history
  • Loading branch information
crisbeto committed May 5, 2016
1 parent ce006cf commit 29e620a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/autocomplete/js/autocompleteController.js
Original file line number Diff line number Diff line change
Expand Up @@ -775,6 +775,7 @@ function MdAutocompleteCtrl ($scope, $element, $mdUtil, $mdConstant, $mdTheming,
if (!$scope.noCache && cache[ term ]) {
ctrl.matches = cache[ term ];
updateMessages();
setLoading(false);
} else {
fetchResults(searchText);
}
Expand Down

0 comments on commit 29e620a

Please sign in to comment.