
Loading…
bindings to concrete types not propagating correctly from template to collection #1839
Owner
sjmiles
commented
pvmart
commented
Might be related.
Overwriting an object in array with the new one destroys binding.
this.push('test', {value: 1});
this.set('test.0.value', 2);
this.set('test.0',{value: 3});
this.set('test.0.value', 4);The result is 3 but in the model is 4.
http://plnkr.co/edit/AH5SKoedUQgeyfBgsfWL?p=preview
Owner
kevinpschaaf
commented
Owner
kevinpschaaf
commented
This should be fixed by PR #1855.
Confirmed it fixes repro case here:
http://jsbin.com/ziseru/2/edit
This was referenced
Owner
kevinpschaaf
commented
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Given:
changes to
paper-input.valueappear intemplate.getModelForElement(paper-input).itembut not intemplate.items[n].http://jsbin.com/qocuka/2/edit