diff --git a/frontend/src/lib/components/apps/components/inputs/AppSelect.svelte b/frontend/src/lib/components/apps/components/inputs/AppSelect.svelte index 607d45798b..77f06901ed 100644 --- a/frontend/src/lib/components/apps/components/inputs/AppSelect.svelte +++ b/frontend/src/lib/components/apps/components/inputs/AppSelect.svelte @@ -42,12 +42,12 @@ }) : [] let rawValue - if (defaultValue) { + if (defaultValue !== undefined) { rawValue = defaultValue } else if (listItems.length > 0) { rawValue = items[0].value } - if (rawValue) { + if (rawValue !== undefined) { value = JSON.stringify(rawValue) outputs?.result.set(rawValue) }