onChange(event.target.value)}
+ on:change={event => onChange(event.detail)}
{placeholder} />
diff --git a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/actions/SaveFields.svelte b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/actions/SaveFields.svelte
index 5b9237fb93..245d13a113 100644
--- a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/actions/SaveFields.svelte
+++ b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/actions/SaveFields.svelte
@@ -53,15 +53,9 @@
{#if schemaFields}
+ on:change={event => updateFieldName(idx, event.detail)}
+ options={schemaFields.map(field => field.name)} />
{:else}
updateFieldValue(idx, event.detail)} />
-
{/each}
diff --git a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/actions/SaveRow.svelte b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/actions/SaveRow.svelte
index a94a5e3002..15ab91983a 100644
--- a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/actions/SaveRow.svelte
+++ b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/actions/SaveRow.svelte
@@ -15,7 +15,7 @@
$store.selectedComponentId
)
$: schemaFields = getSchemaFields(parameters?.tableId)
- $: tableOptions = $tables || []
+ $: tableOptions = $tables.list || []
const getSchemaFields = tableId => {
const { schema } = getSchemaForDatasource({ type: "table", tableId })
@@ -35,20 +35,19 @@