Closed
Description
Bug, feature request, or proposal:
Bug
What is the expected behavior?
Select component: setting an option programmatically should clear any existing previous selected item styles.
What is the current behavior?
The selection is changed, but the previously selected item has still the selected style
What are the steps to reproduce?
In the Plunker:
- Open the select, notice the styling of "tacos", don't change anything, close the select
- click the reset button
- Open the select again: "pizza" and "tacos" have both the selected styling (mat-selected)
Providing a Plunker (or similar) is the best way to get the team to see your issue.
http://plnkr.co/edit/o866DpIMsaYVmPPjwNRf?p=preview
What is the use-case or motivation for changing an existing behavior?
consisten look
Which versions of Angular, Material, OS, browsers are affected?
tested it with Chrome 54