You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the input box, add some text after the word "Tom" eg "Tom1"
IsPristine will now be false
Delete the additional text you made so the input reverts back to "Tom"
isPristine will now be true again
Try to type in a value in the input box and it won't do anything anymore
Expected Behavior
Expect changeset to set the value even after it reverted itself back to a pristine state
Actual Behavior
The changeset doesn't set any new value after returning to a pristine state
If I rollback the changeset then I can type into the Input again. If you make the Input into "Tom" again, it'll get stuck again until a rollback
The text was updated successfully, but these errors were encountered:
ultish
changed the title
Setting an Input value back to it's original value will prevent any further changes to the changeset
Setting an Input value back to its original value will prevent any further changes to the changeset
Aug 21, 2020
Version
ember-changeset: 3.8.2
ember-cli: 3.16.2
Test Case
https://ember-twiddle.com/2131e7dac897f223941de3c49cb82ee5?openFiles=twiddle%5C.json%2C
Steps to reproduce
Expected Behavior
Expect changeset to set the value even after it reverted itself back to a pristine state
Actual Behavior
The changeset doesn't set any new value after returning to a pristine state
If I rollback the changeset then I can type into the Input again. If you make the Input into "Tom" again, it'll get stuck again until a rollback
The text was updated successfully, but these errors were encountered: