diff --git a/packages/builder/src/components/workflow/SetupPanel/ParamInputs/ModelSelector.svelte b/packages/builder/src/components/workflow/SetupPanel/ParamInputs/ModelSelector.svelte index e95306306e..8251e605c3 100644 --- a/packages/builder/src/components/workflow/SetupPanel/ParamInputs/ModelSelector.svelte +++ b/packages/builder/src/components/workflow/SetupPanel/ParamInputs/ModelSelector.svelte @@ -1,14 +1,15 @@
- {#each $backendUiStore.models as model} {/each} - +
diff --git a/packages/builder/src/components/workflow/SetupPanel/ParamInputs/RecordSelector.svelte b/packages/builder/src/components/workflow/SetupPanel/ParamInputs/RecordSelector.svelte index 809d5847b5..f0b278da89 100644 --- a/packages/builder/src/components/workflow/SetupPanel/ParamInputs/RecordSelector.svelte +++ b/packages/builder/src/components/workflow/SetupPanel/ParamInputs/RecordSelector.svelte @@ -1,11 +1,11 @@
- {#each $backendUiStore.models as model} {/each} - +
{#if schemaFields.length}
- {#each schemaFields as field} + {#each schemaFields as [field, schema]}
- setParsedValue(e, field)} /> + {#if schema.constraints?.inclusion?.length} +
{field}
+ + {:else} + setParsedValue(e, field)} /> + {/if}
{/each}
{/if} diff --git a/packages/builder/src/components/workflow/SetupPanel/WorkflowBlockSetup.svelte b/packages/builder/src/components/workflow/SetupPanel/WorkflowBlockSetup.svelte index 79057fd845..ea11199c69 100644 --- a/packages/builder/src/components/workflow/SetupPanel/WorkflowBlockSetup.svelte +++ b/packages/builder/src/components/workflow/SetupPanel/WorkflowBlockSetup.svelte @@ -12,7 +12,7 @@ {#each inputs as [key, value]}
{value.title}
- {#if value.type === 'string' && value.enum} + {#if value.type === 'string' && value.enum?.length}