New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] 3.20.6+ regression: two-way binding no longer works for classic components #19461
Comments
It just occurred to me that maybe it's incorrect to call this example "two-way binding". Sorry if I'm using terms incorrectly. |
The PR which caused this change is this one: #19138 I believe the specific issue is that prior to this change, tracked properties were not part of the computed property system fully, and when updated with This was not intended behavior in the first place, and adding a full |
Removing Thanks, @pzuraq! I will try this with our production components and see how it goes. |
Closing for reason in #19461 (comment) |
🐞 Describe the Bug
Starting with Ember 3.20.6, two-way binding no longer works when using classic components and tracked properties.
🔬 Minimal Reproduction
Minimal reproduction: https://github.com/Axcient/ember-bug
This commit adds the example, a test case, and uses Ember 3.20.5 which works correctly: Axcient/ember-bug@9b45acc
This commit upgrades Ember to 3.20.6, and the example and the test stop working correctly: Axcient/ember-bug@ef7918c
😕 Actual Behavior
When clicking on the checkbox, the "NOT checked" text doesn't change.
🤔 Expected Behavior
When clicking on the checkbox, the "NOT checked" text should change to "checked".
🌍 Environment
➕ Additional Context
We have a real-world project that uses that kind of two-way data binding extensively, and we can't upgrade Ember to 3.20.6 or any later version because it breaks ~30% of our components and tests.
The text was updated successfully, but these errors were encountered: