From 30bf3dde6cdc239965a2c7128ceb83936ad82661 Mon Sep 17 00:00:00 2001 From: Mel O'Hagan Date: Mon, 24 Oct 2022 09:46:53 +0100 Subject: [PATCH] Remove touch check for error consistency --- .../TableIntegrationMenu/IntegrationConfigForm.svelte | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/IntegrationConfigForm.svelte b/packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/IntegrationConfigForm.svelte index 1f740bf35b..1417de6dab 100644 --- a/packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/IntegrationConfigForm.svelte +++ b/packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/IntegrationConfigForm.svelte @@ -94,9 +94,7 @@ type={schema[configKey].type} on:change bind:value={config[configKey]} - on:blur={($validation.touched[configKey] = true)} - error={$validation.touched[configKey] && - $validation.errors[configKey]} + error={$validation.errors[configKey]} /> {:else} @@ -106,9 +104,7 @@ type={schema[configKey].type} on:change bind:value={config[configKey]} - on:blur={($validation.touched[configKey] = true)} - error={$validation.touched[configKey] && - $validation.errors[configKey]} + error={$validation.errors[configKey]} /> {/if}