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

SortableJS does not support choice visibility #142

Open
SamMousa opened this issue Sep 27, 2019 · 0 comments
Open

SortableJS does not support choice visibility #142

SamMousa opened this issue Sep 27, 2019 · 0 comments

Comments

@SamMousa
Copy link

Are you requesting a feature, reporting a bug or asking a question?

Bug

What is the current behavior?

SortableList does not support choice visibility via

  • choicesVisibleIf
  • individual choice visibility settings

What is the expected behavior?

How would you reproduce the current behavior (if this is a bug)?

https://plnkr.co/edit/IoAY0GAJNlpgNxTY3jqP?p=preview

Provide the test code and the tested page URL (if applicable)

Tested page URL: https://plnkr.co/edit/IoAY0GAJNlpgNxTY3jqP?p=preview

Test code

var json = {
 "pages": [
  {
   "name": "page1",
   "elements": [
    {
     "type": "checkbox",
     "name": "question1",
     "choices": [
      "item1",
      "item2",
      "item3"
     ]
    },
    {
     "type": "sortablelist",
     "name": "question2",
     "choices": [
      {
       "value": "item1",
       "visibleIf": "{question1} contains \"item1\""
      },
      "item2",
      "item3"
     ]
    }
   ]
  }
 ]
};

Specify your

  • browser:
  • browser version:
  • surveyjs platform (angular or react or jquery or knockout or vue):
  • surveyjs version:
@tsv2013 tsv2013 transferred this issue from surveyjs/survey-library Sep 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants