Skip to content

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

Closed

Description

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?

Activity

  1. charlesrollin commented on Oct 4, 2017

    @charlesrollin

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

  2. josephperrott commented on Oct 4, 2017

    @josephperrott
    Member

    Closing as duplicate of #7396

  3. angular-automatic-lock-bot commented on Sep 7, 2019

    @angular-automatic-lock-bot

    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.

  4. locked and limited conversation to collaborators on Sep 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions