For my business usecase, I dont want to add a panel inside a panel. The panel show be at the top level only. How can i achieve that in Angular?
Panel Movement inside a panel
Answers approved by surveyjs Support
Hello,
Our developers fixed the issue. Please update the creator library to v2.2.5 and use the ICreatorOptions.maxPanelNestingLevel
creator configuration option. Set maxPanelNestingLevel
to 0 to prevent any inner panels from being added: View Demo.
Should you have any further questions, feel free to contact us at any time.
Hello,
To prevent nesting panels, use the
ICreatorOptions.maxPanelNestingLevel
creator configuration option. SetmaxPanelNestingLevel
to 0 to prevent any inner panels from being added.const creator = new SurveyCreator({ maxPanelNestingLevel: 0, });
Unfortunately, I managed to reproduce the issue. Regardless of the
0
nesting level, it's still possible to add a panel inside another panel using theAdd Question
button. We'll fix this issue shortly: Restrict Nesting Elements - It is possible to add a nesting panel regardless of maxPanelNestingLevel being set to 0.Please stay tuned.