Skip to content

Commit

Permalink
docs(material/chips): fix minor spelling mistake (#26658)
Browse files Browse the repository at this point in the history
(cherry picked from commit b6dc916)
  • Loading branch information
jbrems authored and crisbeto committed Feb 21, 2023
1 parent 060188b commit 5df5368
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/material/chips/chips.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Users can move through the chips using the arrow keys and select/deselect them w

Use `<mat-chip-grid>` and `<mat-chip-row>` for assisting users with text entry.

Chips are always used inside a container. To create chips connected to an input field, start by creating a `<mat-chip-grid>` as the container. Add an `<input/>` element, and register it to the `<mat-chip-grid>` by passing the `matChipInputFor` Input. Always use an `<input/>` elemnt with `<mat-chip-grid>`. Nest a `<mat-chip-row>` element inside the `<mat-chip-grid>` for each piece of data entered by the user. An example of of using chips for text input.
Chips are always used inside a container. To create chips connected to an input field, start by creating a `<mat-chip-grid>` as the container. Add an `<input/>` element, and register it to the `<mat-chip-grid>` by passing the `matChipInputFor` Input. Always use an `<input/>` element with `<mat-chip-grid>`. Nest a `<mat-chip-row>` element inside the `<mat-chip-grid>` for each piece of data entered by the user. An example of of using chips for text input.

<!-- example(chips-input) -->

Expand Down Expand Up @@ -188,4 +188,4 @@ Always apply MatChipRemove to a `<button>` element, never a `<mat-icon>` element

When using MatChipListbox, never nest other interactive controls inside of the `<mat-chip-option>` element. Nesting controls degrades the experience for assistive technology users.

By default, `MatChipListbox` displays a checkmark to identify selected items. While you can hide the checkmark indicator for single-selection via `hideSingleSelectionIndicator`, this makes the component less accessible by making it harder or impossible for users to visually identify selected items.
By default, `MatChipListbox` displays a checkmark to identify selected items. While you can hide the checkmark indicator for single-selection via `hideSingleSelectionIndicator`, this makes the component less accessible by making it harder or impossible for users to visually identify selected items.

0 comments on commit 5df5368

Please sign in to comment.