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

Commit 3b3fc39

Browse files
crisbetoThomasBurleson
authored andcommitted
fix(autocomplete): always hide the progressbar when clearing the input
Fixes #8301, #8195. Closes #8341
1 parent 55041ce commit 3b3fc39

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/autocomplete/js/autocompleteController.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -780,6 +780,7 @@ function MdAutocompleteCtrl ($scope, $element, $mdUtil, $mdConstant, $mdTheming,
780780
if (!$scope.noCache && cache[ term ]) {
781781
ctrl.matches = cache[ term ];
782782
updateMessages();
783+
setLoading(false);
783784
} else {
784785
fetchResults(searchText);
785786
}

0 commit comments

Comments
 (0)