PolymerElements / iron-selector

Manages a list of elements that can be selected
32 stars 55 forks source link

Fixes #82: Update items on `dom-change` events from child templates. #125

Closed bicknellr closed 6 years ago

bicknellr commented 8 years ago

When a dom-repeat updates its DOM as a result of changes to its items list, it reuses stamped template instances, preventing any parent element with IronSelectableBehavior from knowing it should update.

Example with this branch: http://jsbin.com/pirurog/1/edit?html,output Push the "update list" button to change selectedValues of the iron-selector to the input's value + .split(',').