Add default value setting to all relevant form fields

This commit is contained in:
Andrew Kingston 2021-08-04 12:52:48 +01:00
parent 8e8fefd0ef
commit 9b744d4465
1 changed files with 40 additions and 1 deletions

View File

@ -1690,7 +1690,11 @@
{ {
"type": "schema", "type": "schema",
"label": "Schema", "label": "Schema",
"key": "dataSource" "key": "dataSource",
"defaultValue": {
"name": "Custom",
"label": "Custom"
}
}, },
{ {
"type": "boolean", "type": "boolean",
@ -1753,6 +1757,11 @@
"label": "Placeholder", "label": "Placeholder",
"key": "placeholder" "key": "placeholder"
}, },
{
"type": "text",
"label": "Default value",
"key": "defaultValue"
},
{ {
"type": "boolean", "type": "boolean",
"label": "Disabled", "label": "Disabled",
@ -1782,6 +1791,11 @@
"label": "Placeholder", "label": "Placeholder",
"key": "placeholder" "key": "placeholder"
}, },
{
"type": "text",
"label": "Default value",
"key": "defaultValue"
},
{ {
"type": "boolean", "type": "boolean",
"label": "Disabled", "label": "Disabled",
@ -1811,6 +1825,11 @@
"label": "Placeholder", "label": "Placeholder",
"key": "placeholder" "key": "placeholder"
}, },
{
"type": "text",
"label": "Default value",
"key": "defaultValue"
},
{ {
"type": "boolean", "type": "boolean",
"label": "Disabled", "label": "Disabled",
@ -1857,6 +1876,11 @@
} }
] ]
}, },
{
"type": "text",
"label": "Default value",
"key": "defaultValue"
},
{ {
"type": "boolean", "type": "boolean",
"label": "Disabled", "label": "Disabled",
@ -1886,6 +1910,11 @@
"label": "Text", "label": "Text",
"key": "text" "key": "text"
}, },
{
"type": "text",
"label": "Default value",
"key": "defaultValue"
},
{ {
"type": "boolean", "type": "boolean",
"label": "Disabled", "label": "Disabled",
@ -1916,6 +1945,11 @@
"key": "placeholder", "key": "placeholder",
"placeholder": "Type something..." "placeholder": "Type something..."
}, },
{
"type": "text",
"label": "Default value",
"key": "defaultValue"
},
{ {
"type": "boolean", "type": "boolean",
"label": "Disabled", "label": "Disabled",
@ -1951,6 +1985,11 @@
"key": "enableTime", "key": "enableTime",
"defaultValue": true "defaultValue": true
}, },
{
"type": "text",
"label": "Default value",
"key": "defaultValue"
},
{ {
"type": "boolean", "type": "boolean",
"label": "Disabled", "label": "Disabled",