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

updateStateFnRef doesn't let me delete via annotations update #396

Closed
KDDeveloper opened this issue Oct 11, 2023 · 2 comments
Closed

updateStateFnRef doesn't let me delete via annotations update #396

KDDeveloper opened this issue Oct 11, 2023 · 2 comments

Comments

@KDDeveloper
Copy link

updateStateFnRef merges updated state with previous one which means I can't delete from annotations. Is there a work around for this?

@AhmeeedMostafa
Copy link
Collaborator

not an intent to delete using this function, but maybe u could try a workaround which is setting the shape's value to null to override the shape's value, and check if all is good or not (make sure there is no bugs/issues once doing that)

@KDDeveloper
Copy link
Author

KDDeveloper commented Nov 25, 2023

@AhmeeedMostafa thanks a lot! that helped! but it make it really easy if we could do it within the context of just updating the state of the annotation. I have shared a few ideas in #412 which would make the editor further more customizable.

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

2 participants