trimox / angular-mdc-web

Angular wrapper for Material Design (Web) Components
https://trimox.github.io/angular-mdc-web
MIT License
517 stars 87 forks source link

selectionChange in "filter" mdc-chip-set doesn't return value #2159

Closed mohammadrafigh closed 4 years ago

mohammadrafigh commented 4 years ago

Describe the bug in selectionChange event of mdc-chip-set with type "filter", the $event object contains a value for selected chip. The value is returned when selecting a chip but when un-selecting the chip, the value is undefined.

Expected behavior The value should be returned both when selecting and un-selecting.

What Angular MDC version are you using? 5.1.1 (it was working correctly in 3.2.1)