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

The valuePropertyName property doesn't work in a Dynamic Matrix #7605

Closed
JaneSjs opened this issue Dec 28, 2023 · 0 comments
Closed

The valuePropertyName property doesn't work in a Dynamic Matrix #7605

JaneSjs opened this issue Dec 28, 2023 · 0 comments
Assignees
Labels
bug user issue An issue or bug reported by users
Milestone

Comments

@JaneSjs
Copy link
Contributor

JaneSjs commented Dec 28, 2023

I use the valuePropertyName to populate a Dynamic Matrix with selected Checkbox items. However, the Expression column doesn't display the selected item's value. If I create a Dynamic Panel instead, it works as expected.
View Demo

{
 "logoPosition": "right",
 "pages": [
  {
   "name": "page1",
   "elements": [
    {
     "type": "checkbox",
     "name": "myTest",
     "title": " ",
     "hideNumber": true,
     "choices": [
      "Item 1",
      "Item 2",
      "Item 3",
      "Item 4",
      "Item 5"
     ],
     "valuePropertyName": "testItem"
    },
    {
     "type": "matrixdynamic",
     "name": "question3",
     "valueName": "myTest",
     "columns": [
      {
       "name": "Column 1",
       "cellType": "expression",
       "expression": "{row.testItem}"
      },
      {
       "name": "Column 2"
      },
      {
       "name": "Column 3"
      }
     ],
     "choices": [
      1,
      2,
      3,
      4,
      5
     ]
    },
    {
     "type": "paneldynamic",
     "name": "question1",
     "valueName": "myTest",
     "templateElements": [
      {
       "type": "expression",
       "name": "question2",
       "expression": "{panel.testItem}"
      }
     ]
    }
   ]
  }
 ]
}
@JaneSjs JaneSjs added bug user issue An issue or bug reported by users labels Dec 28, 2023
andrewtelnov added a commit that referenced this issue Dec 29, 2023
@tsv2013 tsv2013 closed this as completed in 36ead6e Jan 2, 2024
@JaneSjs JaneSjs changed the title The valuePropertyName doesn't work in a Dynamic Matrix The valuePropertyName property doesn't work in a Dynamic Matrix Jan 4, 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