Skip to content

Commit be8fe34

Browse files
committed
docs(material/form-field): add placeholder to prefix/suffix example for better alignment
1 parent 0a4dbe1 commit be8fe34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components-examples/material/form-field/form-field-prefix-suffix/form-field-prefix-suffix-example.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
</button>
88
</mat-form-field>
99

10-
<mat-form-field appearance="fill">
10+
<mat-form-field appearance="fill" floatLabel="always">
1111
<mat-label>Amount</mat-label>
12-
<input matInput type="number" class="example-right-align">
12+
<input matInput type="number" class="example-right-align" placeholder="0">
1313
<span matPrefix>$&nbsp;</span>
1414
<span matSuffix>.00</span>
1515
</mat-form-field>

0 commit comments

Comments
 (0)