adopted-ember-addons / ember-changeset

Ember.js flavored changesets, inspired by Ecto
http://bit.ly/ember-changeset-demo
MIT License
431 stars 141 forks source link

Set value bug after resetting to original value #558

Closed mattiasamilon closed 4 years ago

mattiasamilon commented 4 years ago

Thank you for contributing!

Think you found a bug?

Version

'3.10.0'

Test Case

Steps to reproduce

After instantiating a new ChangeSet, first change the value of an attribute, then change back to the original value, then try to change the value again.

Expected Behavior

The value should be set to the new one specified.

Actual Behavior

The value is not changed, it seems frozen.

snewcomer commented 4 years ago

👋 @mattiasamilon What version of Ember are you on. There was a bug that has subsequently been fixed and was only an issue in dev mode. Feel free to reopen if the issue still persists!

https://github.com/poteto/ember-changeset/issues/532 https://github.com/emberjs/ember.js/pull/18961