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

md-list-option in md-selection-list not calling selectChange and deselect when toggled #7529

Closed
orwtech opened this issue Oct 4, 2017 · 3 comments

Comments

@orwtech
Copy link

orwtech commented Oct 4, 2017

Bug, feature request, or proposal:

md-list-option in md-selection-list not calling selectChange and deselect when toggled

What is the expected behavior?

Call selectChange and deselect EventEmitter inside toggled() method

What is the current behavior?

selectChange and deselect EventEmitter not called inside when toggled() method

What are the steps to reproduce?

<md-selection-list #stateList >
<md-list-option *ngFor="let state of availableStates" (selectChange)="selectChange($event)" checkboxPosition="before" value="state.id" >
{{state.name}}

What is the use-case or motivation for changing an existing behavior?

Collect information about checked states and save the value in an array for later processing outside the child component having the md-list-selection

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

"@angular/cdk": "^2.0.0-beta.11",
"@angular/material": "^2.0.0-beta.11",

Is there anything else we should know?

@charlesrollin
Copy link

Duplicate of #7396. Looks like it will be fixed by #6901 :)

@josephperrott
Copy link
Member

Closing as duplicate of #7396

@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

No branches or pull requests

3 participants