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

Checkboxes: The "Select All" option checks disabled choices #7466

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

Checkboxes: The "Select All" option checks disabled choices #7466

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

Comments

@JaneSjs
Copy link
Contributor

JaneSjs commented Dec 5, 2023

T15877 - Checkbox option is selecting even if it is in read only state
https://surveyjs.answerdesk.io/internal/ticket/details/T15877

In the following sample, the second option is disabled. Still, the Select All option checks this option too.

{
 "pages": [
  {
   "name": "page1",
   "elements": [
    {
     "type": "checkbox",
     "name": "question1",
     "choices": [
      "Item 1",
      {
       "value": "Item 2",
       "enableIf": "false"
      },
      "Item 3"
     ],
     "showSelectAllItem": true
    }
   ]
  }
 ]
}
2023-12-05_16-41-22.mp4

Expected behavior: the Select All option checks only enabled options.

@JaneSjs JaneSjs added bug user issue An issue or bug reported by users labels Dec 5, 2023
@andrewtelnov andrewtelnov self-assigned this Dec 6, 2023
@RomanTsukanov RomanTsukanov changed the title Checkboxes - The Select All option checks disabled choices Checkboxes: The "Select All" option checks disabled choices Dec 12, 2023
@andrewtelnov andrewtelnov added this to the v1.9.121 milestone Dec 16, 2023
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