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

A Dynamic Panel changes its number when a new panel is added #9401

Closed
JaneSjs opened this issue Feb 4, 2025 · 0 comments
Closed

A Dynamic Panel changes its number when a new panel is added #9401

JaneSjs opened this issue Feb 4, 2025 · 0 comments
Assignees
Labels
bug user issue An issue or bug reported by users

Comments

@JaneSjs
Copy link
Contributor

JaneSjs commented Feb 4, 2025

T21733 - Question Index Issue in Dynamic Panel
https://surveyjs.answerdesk.io/internal/ticket/details/T21733


Consider the following sample:

{
  "logoPosition": "right",
  "pages": [
    {
      "name": "page1",
      "elements": [
        {
          "type": "text",
          "name": "question1"
        },
        {
          "type": "paneldynamic",
          "name": "question2",
          "templateElements": [
            {
              "type": "text",
              "name": "question3",
              "title": "Text"
            }
          ]
        }
      ]
    }
  ]
}

A dynamic panel has the 2. index. Add a new dynamic panel: the index is changed to 1..
https://github.com/user-attachments/assets/e64e929e-f159-4155-8d77-902195cbe971

@JaneSjs JaneSjs added bug user issue An issue or bug reported by users labels Feb 4, 2025
@andrewtelnov andrewtelnov self-assigned this Feb 4, 2025
@tsv2013 tsv2013 closed this as completed in a5cbbc5 Feb 5, 2025
@RomanTsukanov RomanTsukanov changed the title A Dynamic Panel question number is updated when adding a new panel A Dynamic Panel changes its number when a new panel is added Feb 5, 2025
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