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)

(cherry picked from commit 2dc9949)
  • Loading branch information
annieyw authored and wagnermaciel committed May 25, 2021
1 parent b05a4ba commit 4a7374f
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 4a7374f

Please sign in to comment.