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

Commit

Permalink
fix(select): label not updating after objects resolved via promise
Browse files Browse the repository at this point in the history
closes #2803
  • Loading branch information
rschmukler committed May 19, 2015
1 parent 41953d5 commit 7425997
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/select/select.js
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ function SelectMenuDirective($parse, $mdUtil, $mdTheming) {
} else {
self.hashGetter = function getHashValue(value) {
if (angular.isObject(value)) {
return '$$object_' + (value.$$mdSelectId || (value.$$mdSelectId = ++selectNextId));
return 'object_' + (value.$$mdSelectId || (value.$$mdSelectId = ++selectNextId));
}
return value;
};
Expand Down

0 comments on commit 7425997

Please sign in to comment.