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

Commit

Permalink
fix(select): improve keyboard filtering
Browse files Browse the repository at this point in the history
closes #2363
  • Loading branch information
rschmukler committed Apr 16, 2015
1 parent 68395a2 commit f3c113c
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 @@ -444,7 +444,7 @@ function SelectMenuDirective($parse, $mdUtil, $mdTheming) {
optNodes = $element.find('md-option');
optText = new Array(optNodes.length);
angular.forEach(optNodes, function(el, i) {
optText[i] = el.textContent;
optText[i] = el.textContent.trim();
});
}
for (var i = 0; i < optText.length; ++i) {
Expand Down

0 comments on commit f3c113c

Please sign in to comment.