Skip to content

Observe changes to value whit multiple selection#41

Open
bugant wants to merge 1 commit intoiStefo:masterfrom
pitchtarget:observe-changes-on-multiple-selection
Open

Observe changes to value whit multiple selection#41
bugant wants to merge 1 commit intoiStefo:masterfrom
pitchtarget:observe-changes-on-multiple-selection

Conversation

@bugant
Copy link

@bugant bugant commented Jan 8, 2015

When multi is set (to true) the value property is an Array. In order to
let the value of the component be set by "the other side" of the value
binding, changes on the Array must be observed.

When multi is set (to true) the value property is an Array. In order to
let the value of the component be set by "the other side" of the value
binding, changes on the Array must be observed.
@dalpo
Copy link

dalpo commented Feb 12, 2015

+1

@iStefo
Copy link
Owner

iStefo commented Apr 30, 2015

Can you please show me an example (or even a test case) where this change makes sense?

@bugant
Copy link
Author

bugant commented Apr 30, 2015

Suppose that I push some item in the property which is bind to the value of an ember-select2, by observing changes on value.[], the select2 value will be updated, otherwise it will not.

@Kledal
Copy link

Kledal commented Sep 21, 2015

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants