Closed GCorbel closed 9 years ago
@GCorbel I created an issue for this last week with the same issue: #105. I haven't heard anything back but looking through the code, it appears that ember-select-2 does not currently support hasMany because it setting the array instead of adding/removing from it which throws a console error seen in #105. If you open your console and are seeing this read-only error, you should go ahead and add your info to #105 and close this issue.
Confirmed. Furthermore, if the value is a property of a DS object, the two way binding is broken, too.
It works now.
How can it work now? There have been no commits to this repo since before you even opened this issue......
@GCorbel
I saw. It maybe because of an update of ember...
Same issue with ember 1.13.3 and ember data 1.13.5
for everyone getting similar error (select2 with multiple option and hasMany), in last comment of this issue: https://github.com/iStefo/ember-select-2/issues/105 I've posted a workaround that worked quite well for me.
Hello,
I have this simple selector :
With this controller :
I think all skills of the model should be assigned but I have this result :
When I try this :
It works.
Does ember-select-2 works with hasMany associations ?