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
When we call item.undo() we would expect all the attributes updates in the action to be reverted but it turns out that each attribute change is recorded as one undo.
Is there currently a way to achieve our requirement?
The text was updated successfully, but these errors were encountered:
@offirgolan I had a play with your awesome code! And whipped up something that works #121
The new API is timemachine.beginChanges() and timemachine.endChanges() where you can make as many changes as you want but it will be undone with one step.
@offirgolan here's another approach where the undoStack is a collection of changeSets which is essentially an array of Record changes. A bit more neat I think 😉 #122
We have a scenario where one action updates numerous properties on an object.
When we call
item.undo()
we would expect all the attributes updates in the action to be reverted but it turns out that each attribute change is recorded as one undo.Is there currently a way to achieve our requirement?
The text was updated successfully, but these errors were encountered: