Skip to content
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

Modify/set undo arguments after finishing the do function #5

Open
thinkh opened this issue May 23, 2018 · 0 comments
Open

Modify/set undo arguments after finishing the do function #5

thinkh opened this issue May 23, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@thinkh
Copy link
Collaborator

thinkh commented May 23, 2018

In some cases the undo arguments cannot be set simultaneously with the do function/arguments (when creating the action). For instance, when adding an element to an array we need the index as parameter for the undo function, in order to remove the correct element again. Another use case might be database actions, where we need to store the record id.

@thinkh thinkh added the enhancement New feature or request label May 23, 2018
@thinkh thinkh changed the title Modify/set undo after finishing the do function Modify/set undo arguments after finishing the do function May 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant