Open duongphuhiep opened 8 years ago
iron-selector not updates its selection on dom repeat items when data change, i tested it in polymer gmail @ebidel example that app fails to update selected
property to child element
Please re-open this issue with a JSBin demonstrating the problem! For more details on filing issues, you can refer to our contributing guidelines.
Hello,
I demonstrated the problem in plunker:
http://plnkr.co/edit/dqSFV2XQ6x1UjJdm7fFl?p=preview
is it ok? do I have to open a new issue or reuse this one?
:+1: you r the bro bro
I use iron-selector on a dom-repeat a list of item
First I set the selected value to
foo
then set the list to["bar", "foo"]
and I sawfoo
is selected as expected. But then, I set the list to["foo", "rock"]
, the selected value is alwaysfoo
, but now the real selected node isrock
, notfoo
. So the selected value is no longer tells the real selected node.