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

matrixdropdown does not keep values selected #6

Closed
Teqa opened this issue Apr 17, 2016 · 3 comments
Closed

matrixdropdown does not keep values selected #6

Teqa opened this issue Apr 17, 2016 · 3 comments

Comments

@Teqa
Copy link

Teqa commented Apr 17, 2016

The typical example matrixdropdown has a few rows and columns.
Each has a select box with the same choices.
Now when one of the selectboxes is changed, all the selectboxes change to the same value.
Second issue: none of these values are kept so none of these can be stored.

Expected result: being able to set a different selection for each select box.

@andrewtelnov
Copy link
Member

Hello,
I am afraid that I do not get you. I have created an example of using the question: http://surveyjs.org/examples/questiontype-matrixdropdown.html
Could you please, check it out? It seems work as expected.
PS: I have fixed several bugs in QuestionMatrixdropdown yesterday.

Thank you,
Andrew

@Teqa
Copy link
Author

Teqa commented Apr 18, 2016

Hi Andrew,

Your example is very nice and helpful.
This also makes me realise the issue is in the visual editor.
In JSON you have supplied choices per column.
In editor one can only set choices on question level, not column level.
This is causing the question type to do the behaviour as described in this issue.

@andrewtelnov
Copy link
Member

I have added a property editor for the MatrixDropdown.columns property.

OlgaLarina pushed a commit that referenced this issue Aug 29, 2023
OlgaLarina pushed a commit that referenced this issue Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants