Skip to content

Commit 5ff88ce

Browse files
DuncanFaulknerwagnermaciel
authored andcommitted
docs(material/form-field): updated documentation (#20355)
* docs(material/form-field): updated documentation Fixed documentation to clarify that text prefix and suffixes work on legacy and standard appearance and not to use text prefix and suffixes on fill and outline. Fixes # * docs(material/form-field): updated documentation replaced quotes for back ticks Fixes # (cherry picked from commit ac2d385)
1 parent db91108 commit 5ff88ce

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed
16 KB
Binary file not shown.

src/material/form-field/form-field.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ There are a couple differences to be aware of between the `legacy` appearance an
2727
`standard`, `fill`, and `outline` appearances. The `matPrefix` and `matSuffix` elements are center
2828
aligned by default for the newer appearances. The Material Design spec shows this as being the
2929
standard way to align prefix and suffix icons in the newer appearance variants. We do not recommend
30-
using text prefix and suffixes in the new variants because the label and input do not have the same
30+
using text prefix and suffixes in the `fill` and `outline` variants because the label and input do not have the same
3131
alignment. It is therefore impossible to align the prefix or suffix in a way that looks good when
3232
compared with both the label and input text.
3333

0 commit comments

Comments
 (0)