Skip to content

Conversation

crisbeto
Copy link
Member

Fixes mat-select not marking all of the options as selected, when an array with duplicate values is assigned programmatically.

Fixes #13179.

@crisbeto crisbeto added the target: patch This PR is targeted for the next patch release label Sep 29, 2018
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Sep 29, 2018
crisbeto added a commit to crisbeto/material2 that referenced this pull request Sep 29, 2018
…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.
crisbeto added a commit to crisbeto/material2 that referenced this pull request Sep 29, 2018
…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.
Copy link
Member

@jelbourn jelbourn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

{ value: 'pizza-1', viewValue: 'Pizza' },
{ value: 'pizza-1', viewValue: 'Pizza' },
{ value: 'pizza-1', viewValue: 'Pizza' },
{ value: 'pizza-1', viewValue: 'Pizza' },
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Omit spaces in braces

vivian-hu-zz pushed a commit that referenced this pull request Oct 3, 2018
…hen setting value with duplicates (#13363)

Along the same lines as #13361. Fixes the selection list not marking all selected options correctly when an array with duplicate values is assigned programmatically.
roboshoes pushed a commit to roboshoes/material2 that referenced this pull request Oct 23, 2018
…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.
@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label Feb 20, 2019
@crisbeto crisbeto force-pushed the 13179/select-programmatic-duplicate-values branch from 9bb294d to 8b08a59 Compare March 17, 2019 10:49
@mmalerba mmalerba added aaa and removed aaa labels Apr 25, 2019
@andrewseguin andrewseguin added the P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent label May 30, 2019
@crisbeto crisbeto force-pushed the 13179/select-programmatic-duplicate-values branch from 8b08a59 to 47751b4 Compare June 2, 2019 08:39
…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.
@crisbeto crisbeto force-pushed the 13179/select-programmatic-duplicate-values branch from 47751b4 to d95d10d Compare October 13, 2019 13:21
@mmalerba mmalerba removed the lgtm label Jul 31, 2020
@annieyw annieyw merged commit 07faecc into angular:master Feb 9, 2021
annieyw pushed a commit that referenced this pull request Feb 9, 2021
…alue with duplicates (#13361)

Fixes `mat-select` not marking all of the options as selected, when an array with duplicate values is assigned programmatically.

Fixes #13179.

(cherry picked from commit 07faecc)
annieyw pushed a commit that referenced this pull request Feb 9, 2021
…alue with duplicates (#13361)

Fixes `mat-select` not marking all of the options as selected, when an array with duplicate values is assigned programmatically.

Fixes #13179.

(cherry picked from commit 07faecc)
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Mar 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker cla: yes PR author has agreed to Google's Contributor License Agreement P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mat select- problem in selecting all duplicate values upon loading
6 participants