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: "Default row value" dialog doesn't allow changing the default value specified in the JSON schema #5663

Closed
Tracked by #5661
JaneSjs opened this issue Jul 11, 2024 · 0 comments · Fixed by #5687
Assignees
Labels
Milestone

Comments

@JaneSjs
Copy link
Contributor

JaneSjs commented Jul 11, 2024

Consider the following survey JSON:

{
 "logoPosition": "right",
 "pages": [
  {
   "name": "page1",
   "elements": [
    {
     "type": "matrixdynamic",
     "name": "question1",
     "defaultValue": [
      {
       "Column 1": "1",
       "Column 2": "2"
      },
      {
       "Column 1": "3",
       "Column 2": "4"
      }
     ],
     "columns": [
      {
       "name": "Column 1"
      },
      {
       "name": "Column 2"
      }
     ],
     "detailElements": [
      {
       "type": "text",
       "name": "question2"
      }
     ],
     "detailPanelMode": "underRow",
     "choices": [
      1,
      2,
      3,
      4,
      5
     ],
     "cellType": "text"
    }
   ]
  }
 ]
}

If you define the default matrix value:
image

The Set default row value dialog doesn't contain any rows:
image

@JaneSjs JaneSjs mentioned this issue Jul 11, 2024
4 tasks
@JaneSjs JaneSjs changed the title What do those Row Values mean? Dynamic Matrix - The Set default row value dialog doesn't contain any rows Jul 11, 2024
@JaneSjs JaneSjs changed the title Dynamic Matrix - The Set default row value dialog doesn't contain any rows Dynamic Matrix - The Set default row value dialog doesn't contain any rows when a matrix'es default value is specified Jul 11, 2024
@JaneSjs JaneSjs added the bug label Jul 11, 2024
andrewtelnov added a commit that referenced this issue Jul 15, 2024
… rows when a matrix'es default value is specified fix #5663
@OlgaLarina OlgaLarina added this to the v1.11.7 milestone Jul 16, 2024
@RomanTsukanov RomanTsukanov changed the title Dynamic Matrix - The Set default row value dialog doesn't contain any rows when a matrix'es default value is specified Dynamic Matrix: "Default row value" dialog doesn't allow changing the default value specified in the JSON schema Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants