surveyjs / survey-creator

Scalable open-source survey software to generate dynamic JSON-driven forms within your JavaScript application. The form builder features a drag-and-drop UI, CSS Theme Editor, and GUI for conditional logic and form branching.
https://surveyjs.io/open-source
Other
915 stars 373 forks source link

A drop-down adorner list for the subsequent question is not updated when removing a question #5224

Closed JaneSjs closed 9 months ago

JaneSjs commented 9 months ago

T16685 - FR: Question -> move to https://surveyjs.answerdesk.io/internal/ticket/details/T16685


The following demo creates a drop-down action list which allows users to move the question under the selected question: View Demo. However, there is an issue.

OlgaLarina commented 9 months ago

@JaneSjs It is necessary to add a condition: if(o.type === "PROPERTY_CHANGED" && (o.name === "name" || o.name === "elements"))

Updated demo: https://plnkr.co/edit/itSsuKnkl78kXfqN