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

Commit 3b59b20

Browse files
phistuckjelbourn
authored andcommitted
fix(select): add closing tag for native <select> (#10833)
Fixes #10828.
1 parent 5e907b3 commit 3b59b20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/select/select.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ function SelectDirective($mdSelect, $mdUtil, $mdConstant, $mdTheming, $mdAria, $
229229
}
230230

231231
if (attr.name) {
232-
var autofillClone = angular.element('<select class="md-visually-hidden">');
232+
var autofillClone = angular.element('<select class="md-visually-hidden"></select>');
233233
autofillClone.attr({
234234
'name': attr.name,
235235
'aria-hidden': 'true',

0 commit comments

Comments
 (0)