diff --git a/frontend/src/lib/components/ArgInput.svelte b/frontend/src/lib/components/ArgInput.svelte index 80537e4d44..c4c9e72e6a 100644 --- a/frontend/src/lib/components/ArgInput.svelte +++ b/frontend/src/lib/components/ArgInput.svelte @@ -870,9 +870,9 @@ 'w-full', valid ? '' - : 'border border-red-700 border-opacity-30 focus:border-red-700 focus:border-opacity-3' + : 'border border-red-700 border-opacity-30 focus:border-red-700 focus:border-opacity-3' )} - placeholder={placeholder ?? defaultValue ?? ''} + placeholder="blabla" bind:value /> {/key} diff --git a/frontend/src/lib/components/InputTransformForm.svelte b/frontend/src/lib/components/InputTransformForm.svelte index 64530dd3ba..048c240a09 100644 --- a/frontend/src/lib/components/InputTransformForm.svelte +++ b/frontend/src/lib/components/InputTransformForm.svelte @@ -23,7 +23,7 @@ import type { FlowCopilotContext } from './copilot/flow' import StepInputGen from './copilot/StepInputGen.svelte' import type { PickableProperties } from './flows/previousResults' - + import { twMerge } from 'tailwind-merge' export let schema: Schema | { properties?: Record; required?: string[] } export let arg: InputTransform | any export let argName: string @@ -189,7 +189,15 @@ {#if arg != undefined} -
+
-
+
{#if $propPickerConfig?.propName == argName && $propPickerConfig?.insertionMode == 'connect'} 0} {#each keys as argName (argName)} {#if (!filter || filter.includes(argName)) && Object.keys(schema.properties ?? {}).includes(argName)} -
+