PromucFlow_constructor/app/client/cypress/fixtures/formSelectTreeselectDsl.json
Tolulope Adetula 8729c2b435
fix: select treeselect value validation (#10760)
* fix: Select adn treeSelect validation

* fix: remove cy.wait()
2022-02-01 10:54:16 +01:00

192 lines
9.8 KiB
JSON

{
"dsl": {
"widgetName": "MainContainer",
"backgroundColor": "none",
"rightColumn": 1160,
"snapColumns": 64,
"detachFromLayout": true,
"widgetId": "0",
"topRow": 0,
"bottomRow": 1110,
"containerStyle": "none",
"snapRows": 125,
"parentRowSpace": 1,
"type": "CANVAS_WIDGET",
"canExtend": true,
"version": 51,
"minHeight": 1090,
"parentColumnSpace": 1,
"dynamicBindingPathList": [],
"leftColumn": 0,
"children": [
{
"widgetName": "Form1",
"backgroundColor": "white",
"rightColumn": 35,
"isCanvas": true,
"displayName": "Form",
"iconSVG": "/static/media/icon.ea3e08d1.svg",
"widgetId": "gp06qafc2h",
"topRow": 20,
"bottomRow": 60,
"parentRowSpace": 10,
"isVisible": true,
"type": "FORM_WIDGET",
"hideCard": false,
"parentId": "0",
"renderMode": "CANVAS",
"isLoading": false,
"animateLoading": true,
"parentColumnSpace": 19.8125,
"leftColumn": 11,
"children": [
{
"widgetName": "Canvas1",
"rightColumn": 475.5,
"detachFromLayout": true,
"displayName": "Canvas",
"widgetId": "yjoe9m261a",
"containerStyle": "none",
"topRow": 0,
"bottomRow": 390,
"parentRowSpace": 1,
"isVisible": true,
"type": "CANVAS_WIDGET",
"canExtend": false,
"version": 1,
"hideCard": true,
"parentId": "gp06qafc2h",
"minHeight": 400,
"renderMode": "CANVAS",
"isLoading": false,
"parentColumnSpace": 1,
"leftColumn": 0,
"children": [
{
"widgetName": "Text1",
"displayName": "Text",
"iconSVG": "/static/media/icon.97c59b52.svg",
"topRow": 1,
"bottomRow": 5,
"type": "TEXT_WIDGET",
"hideCard": false,
"animateLoading": true,
"leftColumn": 1.5,
"shouldTruncate": false,
"truncateButtonColor": "#FFC13D",
"text": "Form",
"key": "29yspsbe4n",
"rightColumn": 25.5,
"textAlign": "LEFT",
"widgetId": "wc6sshu4b3",
"isVisible": true,
"fontStyle": "BOLD",
"textColor": "#231F20",
"shouldScroll": false,
"version": 1,
"parentId": "yjoe9m261a",
"renderMode": "CANVAS",
"isLoading": false,
"fontSize": "HEADING1"
},
{
"resetFormOnClick": true,
"widgetName": "FormButton1",
"buttonColor": "#03B365",
"displayName": "FormButton",
"iconSVG": "/static/media/icon.c8f649ed.svg",
"topRow": 33,
"bottomRow": 37,
"type": "FORM_BUTTON_WIDGET",
"hideCard": true,
"animateLoading": true,
"leftColumn": 46,
"text": "Submit",
"key": "eo83jr63xj",
"rightColumn": 62,
"isDefaultClickDisabled": true,
"widgetId": "zu43wqoxr7",
"isVisible": true,
"recaptchaType": "V3",
"version": 1,
"parentId": "yjoe9m261a",
"renderMode": "CANVAS",
"isLoading": false,
"disabledWhenInvalid": true,
"buttonVariant": "PRIMARY"
},
{
"widgetName": "Select2",
"isFilterable": false,
"displayName": "Select",
"iconSVG": "/static/media/icon.bd99caba.svg",
"labelText": "Label",
"topRow": 8,
"bottomRow": 15,
"parentRowSpace": 10,
"type": "DROP_DOWN_WIDGET",
"serverSideFiltering": false,
"hideCard": false,
"defaultOptionValue": "GREEN",
"selectionType": "SINGLE_SELECT",
"animateLoading": true,
"parentColumnSpace": 7.1171875,
"dynamicTriggerPathList": [],
"leftColumn": 3,
"dynamicBindingPathList": [],
"options": "[\n {\n \"label\": \"Blue\",\n \"value\": 0\n },\n {\n \"label\": \"Green\",\n \"value\": \"GREEN\"\n },\n {\n \"label\": \"Red\",\n \"value\": \"RED\"\n },\n\t{\n \"label\": \"Red2\",\n \"value\": \"\"\n }\n]",
"placeholderText": "Select option",
"isDisabled": false,
"key": "ber0u80gjl",
"isRequired": true,
"rightColumn": 36,
"widgetId": "rv7mga1t36",
"isVisible": true,
"version": 1,
"parentId": "yjoe9m261a",
"renderMode": "CANVAS",
"isLoading": false
},
{
"widgetName": "TreeSelect1",
"displayName": "TreeSelect",
"iconSVG": "/static/media/icon.bd99caba.svg",
"labelText": "Label",
"topRow": 20,
"bottomRow": 27,
"parentRowSpace": 10,
"type": "SINGLE_SELECT_TREE_WIDGET",
"hideCard": false,
"defaultOptionValue": "BLUE",
"animateLoading": true,
"parentColumnSpace": 7.1171875,
"dynamicTriggerPathList": [],
"leftColumn": 3,
"dynamicBindingPathList": [],
"options": "[\n {\n \"label\": \"Blue\",\n \"value\": 1\n },\n {\n \"label\": \"Green\",\n \"value\": \"GREEN\"\n },\n {\n \"label\": \"Red\",\n \"value\": \"RED\"\n },\n\t{\n \"label\": \"Red2\",\n \"value\": \"\"\n }\n]",
"placeholderText": "Select option",
"isDisabled": false,
"key": "wkuxvtxfci",
"isRequired": true,
"rightColumn": 37,
"widgetId": "4wf8avexi2",
"isVisible": true,
"version": 1,
"expandAll": false,
"parentId": "yjoe9m261a",
"renderMode": "CANVAS",
"isLoading": false,
"allowClear": false
}
],
"key": "zw0vf9cv0b"
}
],
"key": "xlr3lp9t6q"
}
]
}
}