From ae8788b8d1b2b1d72bab03d64453d90380efcfca Mon Sep 17 00:00:00 2001 From: Diego Imbert Date: Thu, 18 Sep 2025 10:45:17 +0200 Subject: [PATCH] always show static/f selector --- .../lib/components/InputTransformForm.svelte | 59 ++++++++++--------- 1 file changed, 32 insertions(+), 27 deletions(-) diff --git a/frontend/src/lib/components/InputTransformForm.svelte b/frontend/src/lib/components/InputTransformForm.svelte index 359fc8afd9..1551c80e5f 100644 --- a/frontend/src/lib/components/InputTransformForm.svelte +++ b/frontend/src/lib/components/InputTransformForm.svelte @@ -393,10 +393,7 @@ {#if !noDynamicToggle}
{#if enableAi} + {/if} + + {#if propPickerWrapperContext} + { + if ( + $propPickerConfig?.propName == argName && + $propPickerConfig?.insertionMode == 'connect' + ) { + clearFocus() + } else { + focusProp?.(argName, 'connect', (path) => { + connectProperty(path) + dispatch('change', { argName }) + return true + }) + } + }} /> {/if} @@ -525,28 +552,6 @@ {/snippet}
- - {#if propPickerWrapperContext} - { - if ( - $propPickerConfig?.propName == argName && - $propPickerConfig?.insertionMode == 'connect' - ) { - clearFocus() - } else { - focusProp?.(argName, 'connect', (path) => { - connectProperty(path) - dispatch('change', { argName }) - return true - }) - } - }} - /> - {/if} {/if}