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}