Skip to content
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

Setting selected=true for mat-list-option in mat-selection-list doesn't update selectedOptions.selected #7318

Closed
taokakao opened this issue Sep 26, 2017 · 1 comment · Fixed by #7334
Assignees

Comments

@taokakao
Copy link

Bug:

When setting initial selection to list options (mat-list-option) using selected property in mat-selection-list doesn't update list.selectedOptions.selected

What is the expected behavior?

Expecting to have list.selectedOptions.selected synchronised with list options current state.

@crisbeto crisbeto self-assigned this Sep 26, 2017
crisbeto added a commit to crisbeto/material2 that referenced this issue Sep 26, 2017
…mmatically

Fixes the list selection model not being updated when an option in the list is selected programmatically.

Fixes angular#7318.
crisbeto added a commit to crisbeto/material2 that referenced this issue Sep 30, 2017
…mmatically

Fixes the list selection model not being updated when an option in the list is selected programmatically.

Fixes angular#7318.
devversion pushed a commit to devversion/material2 that referenced this issue Oct 1, 2017
…mmatically

Fixes the list selection model not being updated when an option in the list is selected programmatically.

Fixes angular#7318.
@kara kara closed this as completed in #7334 Oct 3, 2017
kara pushed a commit that referenced this issue Oct 3, 2017
@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 Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants