Skip to content

Checkboxes: "Select All" affects disabled choice options #10895

@novikov82

Description

@novikov82
Image
{
  "elements": [{
    "type": "checkbox",
    "name": "car",
    "defaultValue": ["Ford", "BMW"],
    "choices": [ "Ford", "BMW", "Peugeot" ],
    "isRequired": true,
    "showSelectAllItem": true,
    "choicesEnableIf": "{item} <> \"BMW\""
  },
  {
    "type": "checkbox",
    "name": "car2",
    "defaultValue": ["Ford", "BMW", "Peugeot"],
    "choices": [ "Ford", "BMW", "Peugeot" ],
    "isRequired": true,
    "showSelectAllItem": true,
    "choicesEnableIf": "{item} <> \"BMW\"",
    "startWithNewLine": false
  },
  {
    "type": "checkbox",
    "name": "car3",
    "defaultValue": ["Ford"],
    "choices": [ "Ford", "BMW", "Peugeot" ],
    "isRequired": true,
    "showSelectAllItem": true,
    "choicesEnableIf": "{item} <> \"BMW\""
  }]
}

https://plnkr.co/edit/wdp7jlX6lOxnhg8k

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions