diff --git a/frontend/src/lib/components/apps/editor/settingsPanel/ArrayStaticInputEditor.svelte b/frontend/src/lib/components/apps/editor/settingsPanel/ArrayStaticInputEditor.svelte index f0672a0c54..2c3c1bb5c3 100644 --- a/frontend/src/lib/components/apps/editor/settingsPanel/ArrayStaticInputEditor.svelte +++ b/frontend/src/lib/components/apps/editor/settingsPanel/ArrayStaticInputEditor.svelte @@ -156,17 +156,17 @@ } else { value.push('') } - componentInput = componentInput if (componentInput.value) { let value = componentInput.value[componentInput.value.length - 1] - if (value) { + if (value != undefined) { items.push({ value, id: generateRandomString() }) } } + componentInput = componentInput } function deleteElementByType(index: number) {