Skip to content

Commit a3ba57d

Browse files
jeripeierSBBmmalerba
authored andcommitted
docs: fix css class in custom form field control guide (#21206)
See https://github.com/angular/components/blob/c68791db9a0b4107d04fa924c27a087cd00a8989/src/material/form-field/ form-field.ts#L323 (cherry picked from commit e8ae494)
1 parent 70e0c02 commit a3ba57d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/creating-a-custom-form-field-control.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ This property allows us to specify a unique string for the type of control in fo
331331
`<mat-form-field>` will add an additional class based on this type that can be used to easily apply
332332
special styles to a `<mat-form-field>` that contains a specific type of control. In this example
333333
we'll use `example-tel-input` as our control type which will result in the form field adding the
334-
class `mat-form-field-example-tel-input`.
334+
class `mat-form-field-type-example-tel-input`.
335335

336336
```ts
337337
controlType = 'example-tel-input';

0 commit comments

Comments
 (0)