From ac4e0b6986c471157450912570c1cfaf47edf525 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Fri, 16 Apr 2021 16:11:11 +0100 Subject: [PATCH] Standardise text area updates --- packages/bbui/src/Form/Core/TextArea.svelte | 4 +--- packages/bbui/src/Form/TextArea.svelte | 9 +-------- .../standard-components/src/forms/LongFormField.svelte | 1 - 3 files changed, 2 insertions(+), 12 deletions(-) diff --git a/packages/bbui/src/Form/Core/TextArea.svelte b/packages/bbui/src/Form/Core/TextArea.svelte index 4d206d291b..e4210a4989 100644 --- a/packages/bbui/src/Form/Core/TextArea.svelte +++ b/packages/bbui/src/Form/Core/TextArea.svelte @@ -7,7 +7,6 @@ export let disabled = false export let error = null export let id = null - export let updateOnChange = true const dispatch = createEventDispatcher() @@ -33,8 +32,7 @@ class="spectrum-Textfield-input" {disabled} {id} - on:blur={onChange} - on:change={updateOnChange ? onChange : null}>{value || ''} + on:blur={onChange}>{value || ''}