From e11a3751c3d188522360010a03e1fbc92311f554 Mon Sep 17 00:00:00 2001 From: Faton Ramadani Date: Fri, 17 May 2024 00:31:32 +0200 Subject: [PATCH] feat(frontend): Fix App Select component initial value (#3752) * feat(frontend): Fix App Select component initial value * Update AppSelect.svelte --------- Co-authored-by: Ruben Fiszel --- .../lib/components/apps/components/inputs/AppSelect.svelte | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/frontend/src/lib/components/apps/components/inputs/AppSelect.svelte b/frontend/src/lib/components/apps/components/inputs/AppSelect.svelte index 0a186dab86..548f382c55 100644 --- a/frontend/src/lib/components/apps/components/inputs/AppSelect.svelte +++ b/frontend/src/lib/components/apps/components/inputs/AppSelect.svelte @@ -71,7 +71,12 @@ result: undefined as string | undefined }) - let value: string | undefined = noDefault ? undefined : outputs?.result.peak() + // The library expects double quotes around the value + let value: string | undefined = noDefault + ? undefined + : outputs?.result.peak() + ? JSON.stringify(outputs?.result.peak()) + : undefined $: resolvedConfig.items && handleItems()