-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
docs(material/chips): describe how to use chips in forms #22906 #29405
Conversation
Added a description and examples in the docs of how to use chips in both reactive and template-driven forms. Fixes angular#22906
<h4>Chips inside of a Reactive form</h4> | ||
<mat-form-field class="example-form-field"> | ||
<mat-label>Video keywords</mat-label> | ||
<mat-chip-grid #reactiveChipGrid aria-label="Enter reactive form keywords" [formControl]="formControl"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The indentation in this file seems off. Maybe it's using tabs instead of spaces?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated to use spaces instead of tabs
Updated indentation
8b7eacc
to
5d335a5
Compare
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Added a description and examples in the docs of how to use chips in both reactive and template-driven forms.
Fixes #22906