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

Commit

Permalink
fix(autocomplete): selecting an item will hide the menu in IE11
Browse files Browse the repository at this point in the history
Closes #2188
Closes #3008
  • Loading branch information
Robert Messerle committed Jun 4, 2015
1 parent 08532b4 commit 0c073d1
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 @@ -304,6 +304,7 @@ function MdAutocompleteCtrl ($scope, $element, $mdUtil, $mdConstant, $timeout, $
//-- force form to update state for validation
$timeout(function () {
elements.$.input.controller('ngModel').$setViewValue(getDisplayValue($scope.selectedItem) || $scope.searchText);
self.hidden = true;
});
}

Expand Down

0 comments on commit 0c073d1

Please sign in to comment.