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

Dynamic Matrix allows row reordering in "display" mode #7616

Closed
JaneSjs opened this issue Jan 2, 2024 · 0 comments
Closed

Dynamic Matrix allows row reordering in "display" mode #7616

JaneSjs opened this issue Jan 2, 2024 · 0 comments
Assignees
Labels
bug user issue An issue or bug reported by users
Milestone

Comments

@JaneSjs
Copy link
Contributor

JaneSjs commented Jan 2, 2024

User Issue: T16211 - Set a survey as read-only
https://surveyjs.answerdesk.io/internal/ticket/details/T16211

{
 "pages": [
  {
   "name": "page1",
   "elements": [
    {
     "type": "radiogroup",
     "name": "question2",
     "defaultValue": "Item 2",
     "choices": [
      "Item 1",
      "Item 2",
      "Item 3"
     ]
    },
    {
     "type": "matrixdynamic",
     "name": "question1",
     "defaultValue": [
      {
       "Column 1": 1,
       "Column 2": 1,
       "Column 3": 1
      },
      {
       "Column 1": 2,
       "Column 2": 2,
       "Column 3": 2
      }
     ],
     "columns": [
      {
       "name": "Column 1"
      },
      {
       "name": "Column 2"
      },
      {
       "name": "Column 3"
      }
     ],
     "choices": [
      1,
      2,
      3,
      4,
      5
     ],
     "allowRowsDragAndDrop": true
    }
   ]
  }
 ],
 "mode": "display"
}

image

Expected behavior: it is impossible to reorder rows in "display" mode.

@JaneSjs JaneSjs added bug user issue An issue or bug reported by users labels Jan 2, 2024
@tsv2013 tsv2013 closed this as completed in 957100c Jan 2, 2024
@OlgaLarina OlgaLarina added this to the v1.9.124 milestone Jan 11, 2024
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

3 participants