Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

fix(select): properly hide the progressbar #8381

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/select/select.js
Expand Up @@ -170,7 +170,7 @@ function SelectDirective($mdSelect, $mdUtil, $mdTheming, $mdAria, $compile, $par
.find('md-content')
.prepend(angular.element(
'<div>' +
' <md-progress-circular md-mode="indeterminate" ng-if="!$$loadingAsyncDone" md-diameter="25px"></md-progress-circular>' +
' <md-progress-circular md-mode="indeterminate" ng-if="$$loadingAsyncDone === false" md-diameter="25px"></md-progress-circular>' +
'</div>'
));

Expand Down Expand Up @@ -550,7 +550,7 @@ function SelectMenuDirective($parse, $mdUtil, $mdTheming) {
var selectCtrl = ctrls[0];

element.addClass('_md'); // private md component indicator for styling

$mdTheming(element);
element.on('click', clickListener);
element.on('keypress', keyListener);
Expand Down