PromucFlow_constructor/app/client/cypress/fixtures/checkboxgroupDsl.json
Paul Li f0fb061dbd
feat: Checkbox group should have a select all option (#8744)
* feat: Checkbox group should have a select all option

-- Add a new property, isSelectAll
-- Implement its functionality

* feat: Checkbox group should have a select all option

-- Set height to auto for select all control
-- Move isInline and isSelectAll properties below isDisabled
-- Set color for options to GREY_9 and GREY_10
-- Add Cypress test cases for handleSelectAllChange

* feat: Checkbox group should have a select all option

-- Fix on misalignment of select all control if isInline is true
-- Refactor the cypress test cases which is affected by adding select all control

* feat: Checkbox group should have a select all option

-- Set white-space to nowrap

* feat: Checkbox group widget should have a select all option

-- Change helpText for isSelectAll property

* feat: Checkbox group should have a select all option

-- Fix on broken test cases for the select all option

Co-authored-by: Arpit Mohan <arpit@appsmith.com>
2022-01-11 21:26:50 +08:00

64 lines
2.0 KiB
JSON

{
"dsl": {
"widgetName": "MainContainer",
"backgroundColor": "none",
"rightColumn": 1280,
"snapColumns": 64,
"detachFromLayout": true,
"widgetId": "0",
"topRow": 0,
"bottomRow": 530,
"containerStyle": "none",
"snapRows": 129,
"parentRowSpace": 1,
"type": "CANVAS_WIDGET",
"canExtend": true,
"version": 39,
"minHeight": 590,
"parentColumnSpace": 1,
"dynamicBindingPathList": [],
"leftColumn": 0,
"children": [
{
"widgetName": "CheckboxGroup1",
"displayName": "Checkbox Group",
"iconSVG": "/static/media/icon.ecb38479.svg",
"topRow": 8,
"bottomRow": 21,
"parentRowSpace": 10,
"type": "CHECKBOX_GROUP_WIDGET",
"hideCard": false,
"isSelectAll": true,
"parentColumnSpace": 18.66171875,
"dynamicTriggerPathList": [],
"leftColumn": 5,
"dynamicBindingPathList": [],
"options": [
{
"label": "Blue",
"value": "BLUE"
},
{
"label": "Green",
"value": "GREEN"
},
{
"label": "Red",
"value": "RED"
}
],
"isDisabled": false,
"key": "5xno62xw2y",
"isRequired": false,
"rightColumn": 12,
"defaultSelectedValues": "BLUE",
"widgetId": "u0xf5la5f2",
"isVisible": true,
"version": 1,
"parentId": "0",
"renderMode": "CANVAS",
"isLoading": false
}
]
}
}