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

Removing a child node from a object cannot be undo #9

Open
suneethdev opened this issue Nov 9, 2023 · 0 comments
Open

Removing a child node from a object cannot be undo #9

suneethdev opened this issue Nov 9, 2023 · 0 comments

Comments

@suneethdev
Copy link

Removing a child node from a JSON object cannot be undo,

My store code is given below.
export const formStore = defineStore('form', { state: () => ({ form: { title: "", spellCheck: true, set: [], id: "" } as FormInterface , }), getters: { }, actions: { }, })

First i push data to the set array and after i removed the item using the array splice function, Then I tried to undo and the undo function doesnt work. An error message indicates that some keys are missing.

@suneethdev suneethdev changed the title Removing a child node from a JSON object cannot be undo Removing a child node from a object cannot be undo Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant