Hi,
is this possible to disable adding one panel into another one in survey-creator?
I want to prevent situation like this:
Thank You,
Amadeusz
Hi,
is this possible to disable adding one panel into another one in survey-creator?
I want to prevent situation like this:
Thank You,
Amadeusz
Hello Amadeusz,
Please use the following code:
JavaScriptSurveyCreator.DragDropHelper.nestedPanelDepth = 1;
It is -1 by default, unlimited.
Thank you,
Andrew
SurveyJS Team
If i set it to 0, it prevents from adding panel into panel but also adding question into panel,
with value 1 I can add 1 depth of panels or questions but I want only prevent adding panel into panel not questions
Yep, it should be 0, indeed. I had to check it before writing.
Thank you for update!
Andrew
SurveyJS Team