diff --git a/packages/builder/src/components/design/PropertiesPanel/SettingsView.svelte b/packages/builder/src/components/design/PropertiesPanel/SettingsView.svelte
index af81ea3d24..fc8e42b95e 100644
--- a/packages/builder/src/components/design/PropertiesPanel/SettingsView.svelte
+++ b/packages/builder/src/components/design/PropertiesPanel/SettingsView.svelte
@@ -80,11 +80,11 @@
"field/link": RelationshipFieldSelect,
}
- const getControl = type => {
+ const getControl = (type) => {
return controlMap[type]
}
- const canRenderControl = setting => {
+ const canRenderControl = (setting) => {
const control = getControl(setting?.type)
if (!control) {
return false
@@ -95,7 +95,7 @@
return true
}
- const onInstanceNameChange = name => {
+ const onInstanceNameChange = (name) => {
onChange("_instanceName", name)
}
@@ -103,13 +103,13 @@
const form = findClosestMatchingComponent(
$currentAsset.props,
componentInstance._id,
- component => component._component.endsWith("/form")
+ (component) => component._component.endsWith("/form")
)
const dataSource = form?.dataSource
const fields = makeDatasourceFormComponents(dataSource)
onChange(
"_children",
- fields.map(field => field.json())
+ fields.map((field) => field.json())
)
}
@@ -123,7 +123,8 @@
label={def.label}
key={def.key}
value={get(assetInstance, def.key)}
- onChange={val => onScreenPropChange(def.key, val)} />
+ onChange={(val) => onScreenPropChange(def.key, val)}
+ />
{/each}
{/if}
@@ -134,7 +135,8 @@
label="Name"
key="_instanceName"
value={componentInstance._instanceName}
- onChange={onInstanceNameChange} />
+ onChange={onInstanceNameChange}
+ />
{/if}
{#if settings && settings.length > 0}
@@ -145,10 +147,12 @@
control={getControl(setting.type)}
label={setting.label}
key={setting.key}
- value={componentInstance[setting.key] ?? componentInstance[setting.key]?.defaultValue}
+ value={componentInstance[setting.key] ??
+ componentInstance[setting.key]?.defaultValue}
{componentInstance}
- onChange={val => onChange(setting.key, val)}
- props={{ options: setting.options, placeholder: setting.placeholder }} />
+ onChange={(val) => onChange(setting.key, val)}
+ props={{ options: setting.options, placeholder: setting.placeholder }}
+ />
{/if}
{/each}
{:else}
@@ -157,10 +161,12 @@
{/if}
- {#if componentDefinition?.component?.endsWith('/fieldgroup')}
-
+ {#if componentDefinition?.component?.endsWith("/fieldgroup")}
+
+
+
{/if}
+ title="Confirm Form Field Update"
+/>
diff --git a/packages/client/src/utils/styleable.js b/packages/client/src/utils/styleable.js
index 6cc387058a..9a89f1d273 100644
--- a/packages/client/src/utils/styleable.js
+++ b/packages/client/src/utils/styleable.js
@@ -24,7 +24,10 @@ const addBuilderPreviewStyles = (node, styleString, componentId) => {
if (componentId === get(builderStore).selectedComponentId) {
const style = window.getComputedStyle(node)
const property = style?.display === "table-row" ? "outline" : "border"
- return styleString + `;${property}: 2px solid #4285f4 !important;`
+ return (
+ styleString +
+ `;${property}: 2px solid #4285f4 !important; border-radius: 4px !important;`
+ )
} else {
return styleString
}
diff --git a/packages/standard-components/src/DataProvider.svelte b/packages/standard-components/src/DataProvider.svelte
index e7feb804f3..83de1ceb66 100644
--- a/packages/standard-components/src/DataProvider.svelte
+++ b/packages/standard-components/src/DataProvider.svelte
@@ -103,6 +103,8 @@
}
-
-
-
+