You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug(MdListOption/MdSelectionList) selectChange does not fire on MdListOption #7533
-- File: list-selection-example.ts
@Component({
selector: 'list-selection-example',
styleUrls: ['list-selection-example.css'],
templateUrl: 'list-selection-example.html',
})
export class ListSelectionExample {
typesOfShoes = ['Boots', 'Clogs', 'Loafers', 'Moccasins', 'Sneakers'];
public change() {
console.log('This should fire on select change')
}
}
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Chromium on Xubuntu: Version 61.0.3163.79 (Official Build) Built on Ubuntu , running on Ubuntu 17.04 (64-bit)
Also tested on Firefox 55.0.2 (64-bit) on Xubuntu, not working either.
Is there anything else we should know?
I'm trying to use the md-selection-list in my app. In this child component, I want to emit whenever the user makes a change in selections. Interested to hear what I'm doing wrong or a work-around.
Activity
thomastoye commentedon Oct 4, 2017
As for the problem I was trying to solve, I solved it more elegantly using the following (which works):
This bug remains though.
josephperrott commentedon Oct 4, 2017
This is actually a duplicate and will be fixed by #6901
angular-automatic-lock-bot commentedon Sep 7, 2019
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.