Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(material/list): wrong order of arguments when calling custom comp…
…areWith function (#24743) * fix(material/list): wrong order of arguments when calling custom compareWith function Fixes a bug in Angular Material `selection-list` component where the order of arguments passed to a custom compareWith function was mixed up during initialization of a MatListOption. Expected order based on documentation is: 1. value of the respective option 2. value of the selection * fix(material-experimental/mdc-list): wrong order of arguments when calling custom compareWith function Fixes a bug in Angular Material's experimental mdc-selection-list component where the order of arguments passed to a custom compareWith function was mixed up during initialization of a MatListOption. Expected order based on documentation is: 1. value of the respective option 2. value of the selection
- Loading branch information