You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(material/core): add checkmark for single-select
Add checkmark to mat-option for single-select. Fix a11y issues where
selected state is visually communicated with color alone. Communicate
selection with both color and a checkmark indicator. Affect components
that use mat-option for single-selection, which include select and
autocomplete.
Add an `appearance` Input to mat-pseudo-checkbox. "full" appearance
renders a checkbox, which is the current behavior. Render "full"
appearance by default. "minimal" apperance renders only a checkmark.
Summary of API and behavior changes:
- Add an `@Input appearance` to pseudo-checkbox with options for "full"
and "minimal".
- mat-option renders "minimal" appearance for single-select, which
looks like a checkmark.
- Select and autocomplete components display checkmark on selected
option.
What's not changing:
- does not affect multiple selection
- mat-option renders "full" apperance by default, which is same as
existing behavior
Fixes: #25961
0 commit comments