PromucFlow_constructor/app/client/cypress/fixtures/jsonFormDslWithoutSchema.json
ashit-rath 06168ecb60
fix: submit button not disabled in invalid json form on first load (#13415)
* fix: submit button not disabled in invalid json form on first load

* reset fixes
2022-05-04 10:45:27 +05:30

81 lines
2.3 KiB
JSON

{
"dsl": {
"widgetName": "MainContainer",
"backgroundColor": "none",
"rightColumn": 1168,
"snapColumns": 64,
"detachFromLayout": true,
"widgetId": "0",
"topRow": 0,
"bottomRow": 610,
"containerStyle": "none",
"snapRows": 125,
"parentRowSpace": 1,
"type": "CANVAS_WIDGET",
"canExtend": true,
"version": 47,
"minHeight": 520,
"parentColumnSpace": 1,
"dynamicTriggerPathList": [],
"dynamicBindingPathList": [],
"leftColumn": 0,
"children": [
{
"widgetName": "Text1",
"displayName": "Text",
"iconSVG": "/static/media/icon.97c59b52.svg",
"topRow": 54,
"bottomRow": 58,
"parentRowSpace": 10,
"type": "TEXT_WIDGET",
"hideCard": false,
"animateLoading": true,
"parentColumnSpace": 18.0625,
"leftColumn": 22,
"text": "Label",
"key": "zgsygilz5a",
"rightColumn": 38,
"textAlign": "LEFT",
"widgetId": "ums2hvawa0",
"isVisible": true,
"fontStyle": "BOLD",
"textColor": "#231F20",
"version": 1,
"parentId": "0",
"renderMode": "CANVAS",
"isLoading": false,
"fontSize": "PARAGRAPH"
},
{
"isVisible": true,
"backgroundColor": "#fff",
"disabledWhenInvalid": true,
"fixedFooter": true,
"schema": {},
"scrollContents": true,
"showReset": true,
"title": "Form",
"version": 1,
"widgetName": "JSONForm1",
"type": "JSON_FORM_WIDGET",
"autoGenerateForm": true,
"hideCard": false,
"displayName": "JSON Form",
"key": "cak4mvjrvr",
"iconSVG": "/static/media/icon.6bacf7df.svg",
"widgetId": "1gnss27afd",
"renderMode": "CANVAS",
"isLoading": false,
"parentColumnSpace": 18.0625,
"parentRowSpace": 10,
"leftColumn": 21,
"rightColumn": 46,
"topRow": 7,
"bottomRow": 47,
"parentId": "0",
"submitButtonLabel": "Submit",
"resetButtonLabel": "Reset"
}
]
}
}