-
Notifications
You must be signed in to change notification settings - Fork 6.8k
fix(select): not marking options as selected correctly when setting value with duplicates #13361
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
fix(select): not marking options as selected correctly when setting value with duplicates #13361
Conversation
…hen setting value with duplicates Along the same lines as angular#13361. Fixes the selection list not marking all selected options correctly when an array with duplicate values is assigned programmatically.
…hen setting value with duplicates Along the same lines as angular#13361. Fixes the selection list not marking all selected options correctly when an array with duplicate values is assigned programmatically.
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.
LGTM
src/lib/select/select.spec.ts
Outdated
{ value: 'pizza-1', viewValue: 'Pizza' }, | ||
{ value: 'pizza-1', viewValue: 'Pizza' }, | ||
{ value: 'pizza-1', viewValue: 'Pizza' }, | ||
{ value: 'pizza-1', viewValue: 'Pizza' }, |
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.
Omit spaces in braces
…hen setting value with duplicates (angular#13363) Along the same lines as angular#13361. Fixes the selection list not marking all selected options correctly when an array with duplicate values is assigned programmatically.
9bb294d
to
8b08a59
Compare
8b08a59
to
47751b4
Compare
…alue with duplicates Fixes `mat-select` not marking all of the options as selected, when an array with duplicate values is assigned programmatically. Fixes angular#13179.
47751b4
to
d95d10d
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. |
Fixes
mat-select
not marking all of the options as selected, when an array with duplicate values is assigned programmatically.Fixes #13179.