components icon indicating copy to clipboard operation
components copied to clipboard

mat-selection-list selectionChange Property not working while moving from angular5 to angular6

Open anilarya opened this issue 8 years ago • 3 comments

Earlier in angular5 , this was working fine which is not working in angular6 at all . Can anyone check this one ?

https://stackblitz.com/edit/angular-ncxfwa?file=.angular-cli.json https://angular-ncxfwa.stackblitz.io

anilarya avatar May 14 '18 03:05 anilarya

Same here.

dikey94 avatar May 15 '18 20:05 dikey94

That's because you're binding the selectionChange event on the mat-list-option, but it's actually the mat-selection-list that emits it. Here's a fork of your example.

crisbeto avatar Jun 12 '18 19:06 crisbeto

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.