You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Property selectedItems set a new array with each change instead off notify the additions or eliminations. This causes erratic behavior by observing nodes created from selectedItems
Expected outcome
Keep the reference value in the property and change the values.
Description
Property
selectedItems
set a new array with each change instead off notify the additions or eliminations. This causes erratic behavior by observing nodes created fromselectedItems
Expected outcome
Keep the reference value in the property and change the values.
Actual outcome
Change the array reference, creating a new one.
Live Demo
Current behavior
The selected items are managed wrong and the observer generate inconsistent data.
https://jsbin.com/fozihiw/edit?html,console,output
New behavior
The selected items are managed well
https://jsbin.com/qobuzeg/edit?html,console,output
Steps to reproduce
iron-selector
or any element which implement iron-selectableselectedItems
in adom-repeat
Browsers Affected
The text was updated successfully, but these errors were encountered: