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

Multi-Select Matrix: A column total is duplicated if the column sets showInMultipleColumns: true #8581

Closed
JaneSjs opened this issue Jul 19, 2024 · 1 comment · Fixed by #8616
Assignees
Labels
Milestone

Comments

@JaneSjs
Copy link
Contributor

JaneSjs commented Jul 19, 2024

Consider the following matrix configuration:

{
  "pages": [
    {
      "name": "page1",
      "elements": [
        {
          "type": "matrixdropdown",
          "name": "question1",
          "title": "Please indicate if you agree or disagree with the following statements",
          "columns": [
            {
              "name": "userOpinion",
              "title": "Agree",
              "cellType": "radiogroup",
              "showInMultipleColumns": true,
              "totalType": "count",
              "choices": [
                {
                  "value": "agree",
                  "text": "Agree"
                },
                {
                  "value": "disagree",
                  "text": "Disagree"
                }
              ]
            }
          ],
          "choices": [
            1,
            2,
            3,
            4,
            5
          ],
          "rows": [
            {
              "value": "affordable",
              "text": "Product is affordable"
            },
            {
              "value": "doeswhatitclaims",
              "text": "Product does what it claims"
            },
            {
              "value": "betterthanother",
              "text": "Product is better than other products on the market"
            },
            {
              "value": "easytouse",
              "text": "Product is easy to use"
            }
          ]
        }
      ]
    }
  ]
}

The column total appears as follows: the total should not be duplicated.
image

@JaneSjs JaneSjs added the bug label Jul 19, 2024
@andrewtelnov andrewtelnov self-assigned this Jul 19, 2024
@andrewtelnov
Copy link
Member

@JaneSjs I hide the total related properties on setting showInMultipleColumns property.

Thank you,
Andrew

andrewtelnov added a commit that referenced this issue Jul 25, 2024
…alue for a column which has 'showInMultipleColumns: true' fix #8581
@RomanTsukanov RomanTsukanov changed the title Multi-Select Matrix - The column total doesn't calculate the actual value for a column which has 'showInMultipleColumns: true' Multi-Select Matrix: A column total is duplicated if the column sets showInMultipleColumns: true Jul 29, 2024
@OlgaLarina OlgaLarina added this to the v1.11.9 milestone Aug 2, 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