diff --git a/packages/standard-components/src/forms/LongFormField.svelte b/packages/standard-components/src/forms/LongFormField.svelte index a9cd13de4a..c3bc8df26a 100644 --- a/packages/standard-components/src/forms/LongFormField.svelte +++ b/packages/standard-components/src/forms/LongFormField.svelte @@ -8,8 +8,17 @@ let fieldState let fieldApi - let value - $: fieldApi?.setValue(value) + let previousValue = "" + let value = "" + + $: { + // Only actually update the value when it changes, so that we don't trigger + // validation unnecessarily + if (value !== previousValue) { + fieldApi?.setValue(value) + previousValue = value + } + } // Options for rich text component const options = {