diff --git a/packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/IntegrationConfigForm.svelte b/packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/IntegrationConfigForm.svelte index 2db5490678..c084e8413e 100644 --- a/packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/IntegrationConfigForm.svelte +++ b/packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/IntegrationConfigForm.svelte @@ -10,10 +10,12 @@
{#each Object.keys(schema) as configKey} - {#if typeof schema[configKey].type === 'object'} + {#if schema[configKey].type === 'object'} - + {:else}
diff --git a/packages/builder/src/components/design/PropertiesPanel/BindingPanel.svelte b/packages/builder/src/components/design/PropertiesPanel/BindingPanel.svelte index 00cf25c995..6656d23eac 100644 --- a/packages/builder/src/components/design/PropertiesPanel/BindingPanel.svelte +++ b/packages/builder/src/components/design/PropertiesPanel/BindingPanel.svelte @@ -40,13 +40,14 @@ function addToText(readableBinding) { const position = getCaretPosition() const toAdd = `{{ ${readableBinding} }}` + if (position.start) { value = value.substring(0, position.start) + toAdd + value.substring(position.end, value.length) } else { - value += toAdd + value = toAdd } } @@ -110,7 +111,8 @@ bind:getCaretPosition thin bind:value - placeholder="Add text, or click the objects on the left to add them to the textbox." /> + placeholder="Add text, or click the objects on the left to add them to + the textbox." /> {#if !valid}

Current Handlebars syntax is invalid, please check the guide diff --git a/packages/builder/src/components/integration/KeyValueBuilder.svelte b/packages/builder/src/components/integration/KeyValueBuilder.svelte index c8ee3a9897..b104f5676d 100644 --- a/packages/builder/src/components/integration/KeyValueBuilder.svelte +++ b/packages/builder/src/components/integration/KeyValueBuilder.svelte @@ -1,7 +1,8 @@