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
-- 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.
Bug, feature request, or proposal:
The
selectChange
output onmd-list-option
does not work (never called) when selecting options.What is the expected behavior?
When clicking on an
md-list-option
,selectChange
is called.What is the current behavior?
When clicking on an
md-list-option
,selectChange
is not called.What are the steps to reproduce?
Here is a Plunker showing this (minimal changes from the Angular Material docs example): https://plnkr.co/edit/YPB47YfYjriGM7FA4lnX?p=preview
Here are the relevant sections:
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.The text was updated successfully, but these errors were encountered: