diff --git a/lerna.json b/lerna.json
index 6df4a4c4cd..cb92b3ba0d 100644
--- a/lerna.json
+++ b/lerna.json
@@ -1,5 +1,5 @@
{
- "version": "2.12.1",
+ "version": "2.12.2",
"npmClient": "yarn",
"packages": [
"packages/*"
diff --git a/packages/client/manifest.json b/packages/client/manifest.json
index 8b107933d6..1db6f4a90c 100644
--- a/packages/client/manifest.json
+++ b/packages/client/manifest.json
@@ -5844,17 +5844,17 @@
},
"settings": [
{
- "type": "select",
+ "type": "table",
+ "label": "Data",
+ "key": "dataSource"
+ },
+ {
+ "type": "radio",
"label": "Type",
"key": "actionType",
"options": ["Create", "Update", "View"],
"defaultValue": "Create"
},
- {
- "type": "table",
- "label": "Data",
- "key": "dataSource"
- },
{
"type": "text",
"label": "Title",
@@ -5885,13 +5885,37 @@
},
{
"type": "text",
- "label": "Empty text",
+ "label": "No rows found",
"key": "noRowsMessage",
"defaultValue": "We couldn't find a row to display",
"nested": true
}
]
},
+ {
+ "section": true,
+ "name": "Fields",
+ "settings": [
+ {
+ "type": "fieldConfiguration",
+ "key": "fields",
+ "nested": true,
+ "resetOn": "dataSource",
+ "selectAllFields": true
+ },
+ {
+ "type": "boolean",
+ "label": "Disabled",
+ "key": "disabled",
+ "defaultValue": false,
+ "dependsOn": {
+ "setting": "actionType",
+ "value": "View",
+ "invert": true
+ }
+ }
+ ]
+ },
{
"section": true,
"name": "Buttons",
@@ -5943,30 +5967,6 @@
}
]
},
- {
- "section": true,
- "name": "Fields",
- "settings": [
- {
- "type": "fieldConfiguration",
- "key": "fields",
- "nested": true,
- "resetOn": "dataSource",
- "selectAllFields": true
- },
- {
- "type": "boolean",
- "label": "Disabled",
- "key": "disabled",
- "defaultValue": false,
- "dependsOn": {
- "setting": "actionType",
- "value": "View",
- "invert": true
- }
- }
- ]
- },
{
"tag": "style",
"type": "select",
@@ -6313,4 +6313,4 @@
}
]
}
-}
\ No newline at end of file
+}
diff --git a/packages/client/src/components/app/blocks/form/InnerFormBlock.svelte b/packages/client/src/components/app/blocks/form/InnerFormBlock.svelte
index f5e0d236a3..e78cbd89c7 100644
--- a/packages/client/src/components/app/blocks/form/InnerFormBlock.svelte
+++ b/packages/client/src/components/app/blocks/form/InnerFormBlock.svelte
@@ -221,15 +221,11 @@
{/if}
- {#if description}
-
- {/if}
{/if}
+ {#if description}
+
+ {/if}
{#key fields}