PolymerElements / iron-selector

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

multi selection's on-selected-values-changed will not invoked when it changes #44

Closed jwu closed 8 years ago

jwu commented 9 years ago

I found the source will assigned array directly:

and I think use Polymer's array operation: this.push('selectedValues', value), this.splice('selectedValues', i, 1) will solve this problem.

pe4enushkin commented 9 years ago

+1 Because of this problem, binding to selectedValuse also not populate data into my element.

oddg commented 9 years ago

The fix allows proper data population to the binded properties. But it seems to me that observing change on this binded property is still an issue.

leogr commented 9 years ago

:+1: I encountered the same problem. Using Polymer's array operation worked fine in my case.