fix: improve array static editor

This commit is contained in:
Ruben Fiszel
2024-01-30 20:42:40 +01:00
parent e161fda1b5
commit ef17fd0f5e

View File

@@ -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) {