Skip to content

Commit 06aa3f1

Browse files
hansljelbourn
authored andcommitted
fix(input): use the right ID for the label. (#515)
Fixes #512.
1 parent 91ad1c8 commit 06aa3f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/input/input.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
(change)="handleChange($event)">
3535

3636
<label class="md-input-placeholder"
37-
[attr.for]="id"
37+
[attr.for]="inputId"
3838
[class.md-empty]="empty"
3939
[class.md-focused]="focused"
4040
[class.md-float]="floatingPlaceholder"

0 commit comments

Comments
 (0)