Skip to content

Commit

Permalink
fix(MdInput): Input should not be treated as empty if it is a date fi…
Browse files Browse the repository at this point in the history
…eld. Fixes angular#845
  • Loading branch information
drager committed Jul 20, 2016
1 parent e4dc755 commit 9dabcc0
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 @@ -37,7 +37,7 @@

<label class="md-input-placeholder"
[attr.for]="inputId"
[class.md-empty]="empty"
[class.md-empty]="empty && type !== 'date'"
[class.md-focused]="focused"
[class.md-float]="floatingPlaceholder"
[class.md-accent]="dividerColor == 'accent'"
Expand Down

0 comments on commit 9dabcc0

Please sign in to comment.