Skip to content

Commit

Permalink
fix(input): use the right ID for the label. (#515)
Browse files Browse the repository at this point in the history
Fixes #512.
  • Loading branch information
hansl authored and jelbourn committed May 25, 2016
1 parent 91ad1c8 commit 06aa3f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/input/input.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
(change)="handleChange($event)">

<label class="md-input-placeholder"
[attr.for]="id"
[attr.for]="inputId"
[class.md-empty]="empty"
[class.md-focused]="focused"
[class.md-float]="floatingPlaceholder"
Expand Down

0 comments on commit 06aa3f1

Please sign in to comment.