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

The creator.onModified function contains irrelevant information when performing the Undo action after changing a question type #5996

Open
JaneSjs opened this issue Oct 25, 2024 · 0 comments
Assignees
Labels
bug user issue An issue or bug reported by users.

Comments

@JaneSjs
Copy link
Contributor

JaneSjs commented Oct 25, 2024

T20414 - OnModified options potentially does not display correct information
https://surveyjs.answerdesk.io/internal/ticket/details/T20414


To reproduce the problematic behavior, run this demo and follow these steps:

  • Add a Text question.
  • Convert it to Boolean.
  • Click Undo.

Check the optoins parameter within the creator.onModified event. options.reason is ELEMENT_REORDERED and indexFrom and indexTo have the same value.
image

This information doesn't seem to relate to the Undo action which actually changed the question type back from Boolean to Text.

@JaneSjs JaneSjs added bug user issue An issue or bug reported by users. labels Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug user issue An issue or bug reported by users.
Projects
None yet
Development

No branches or pull requests

2 participants