Skip to content

Commit

Permalink
fix(input): missing selector for mdPrefix
Browse files Browse the repository at this point in the history
Fixes uses of `md-prefix` and `md-suffix` not being projected to the proper place in the DOM.

Fixes #5643.
  • Loading branch information
crisbeto committed Jul 10, 2017
1 parent 557b31b commit d609719
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/input/input-container.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="mat-input-wrapper">
<div class="mat-input-flex">
<div class="mat-input-prefix" *ngIf="_prefixChildren.length">
<ng-content select="[mdPrefix], [matPrefix]"></ng-content>
<ng-content select="[mdPrefix], [matPrefix], [md-prefix]"></ng-content>
</div>

<div class="mat-input-infix">
Expand All @@ -23,7 +23,7 @@
</div>

<div class="mat-input-suffix" *ngIf="_suffixChildren.length">
<ng-content select="[mdSuffix], [matSuffix]"></ng-content>
<ng-content select="[mdSuffix], [matSuffix], [md-suffix]"></ng-content>
</div>
</div>

Expand Down

0 comments on commit d609719

Please sign in to comment.