Skip to content

Commit

Permalink
docs(material/form-field): add placeholder to prefix/suffix example f…
Browse files Browse the repository at this point in the history
…or better alignment (#22775)
  • Loading branch information
annieyw authored May 25, 2021
1 parent b124325 commit 2dc9949
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
</button>
</mat-form-field>

<mat-form-field appearance="fill">
<mat-form-field appearance="fill" floatLabel="always">
<mat-label>Amount</mat-label>
<input matInput type="number" class="example-right-align">
<input matInput type="number" class="example-right-align" placeholder="0">
<span matPrefix>$&nbsp;</span>
<span matSuffix>.00</span>
</mat-form-field>
Expand Down

0 comments on commit 2dc9949

Please sign in to comment.