emberjs / ember.js

Ember.js - A JavaScript framework for creating ambitious web applications
https://emberjs.com
MIT License
22.45k stars 4.21k forks source link

[Bug] [3.23.0+] Updating property value via yielded reference fails #19732

Closed dxmo closed 1 year ago

dxmo commented 3 years ago

🐞 Describe the Bug

I'm yielding a hash with a property that references a model property. When I then try to update this value in parent component via yielded hash reference it does not update the value on the model. This used to work prior to 3.23.0.

🔬 Minimal Reproduction

https://github.com/dxmo/ember-cp-bug

😕 Actual Behavior

When you modify the value in the first input, it does not update the value on the model - it seems to only update the value on the passed in hash?

🤔 Expected Behavior

Editing the value in either of the inputs should update the model property

🌍 Environment

lifeart commented 3 years ago

may be related to https://github.com/glimmerjs/glimmer-vm/pull/1323

locks commented 1 year ago

Linked PR above has been merged, so I believe this has been solved!