From 43566a2e505eb53078024b149af51341a09a6bd1 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Wed, 5 Jul 2023 01:09:03 +0200 Subject: [PATCH] fix delete component on input text --- .../lib/components/apps/components/inputs/AppTextInput.svelte | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/src/lib/components/apps/components/inputs/AppTextInput.svelte b/frontend/src/lib/components/apps/components/inputs/AppTextInput.svelte index 893f44b1bf..ee87d92e72 100644 --- a/frontend/src/lib/components/apps/components/inputs/AppTextInput.svelte +++ b/frontend/src/lib/components/apps/components/inputs/AppTextInput.svelte @@ -77,6 +77,7 @@ style="resize:none; {css?.input?.style ?? ''}" on:pointerdown|stopPropagation={(e) => !$connectingInput.opened && selectId(e, id, selectedComponent, $app)} + on:keydown|stopPropagation bind:value {placeholder} /> @@ -91,6 +92,7 @@ style={css?.input?.style ?? ''} on:pointerdown|stopPropagation={(e) => !$connectingInput.opened && selectId(e, id, selectedComponent, $app)} + on:keydown|stopPropagation type="password" bind:value {placeholder} @@ -104,6 +106,7 @@ style={css?.input?.style ?? ''} on:pointerdown|stopPropagation={(e) => !$connectingInput.opened && selectId(e, id, selectedComponent, $app)} + on:keydown|stopPropagation type="text" bind:value {placeholder} @@ -117,6 +120,7 @@ style={css?.input?.style ?? ''} on:pointerdown|stopPropagation={(e) => !$connectingInput.opened && selectId(e, id, selectedComponent, $app)} + on:keydown|stopPropagation type="email" bind:value {placeholder}