Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
fix(autocomplete): always hide the progressbar when clearing the input
Browse files Browse the repository at this point in the history
Fixes #8301, #8195.

Closes #8341
  • Loading branch information
crisbeto authored and ThomasBurleson committed May 30, 2016
1 parent 55041ce commit 3b3fc39
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 @@ -780,6 +780,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 3b3fc39

Please sign in to comment.