Skip to content

docs: fix css class in custom form field control guide #21206

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 3, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion guides/creating-a-custom-form-field-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ This property allows us to specify a unique string for the type of control in fo
`<mat-form-field>` will add an additional class based on this type that can be used to easily apply
special styles to a `<mat-form-field>` that contains a specific type of control. In this example
we'll use `example-tel-input` as our control type which will result in the form field adding the
class `mat-form-field-example-tel-input`.
class `mat-form-field-type-example-tel-input`.

```ts
controlType = 'example-tel-input';
Expand Down