Issue T24070
Visible to All Users

Panel Movement inside a panel

created a month ago

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?

Comments (1)

    Hello,
    To prevent nesting panels, use the ICreatorOptions.maxPanelNestingLevel creator configuration option. Set maxPanelNestingLevel to 0 to prevent any inner panels from being added.

    JavaScript
    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 the Add 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.

    Answers approved by surveyjs Support

    created a month ago

    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.