use hash for field options

This commit is contained in:
Pete Matsyburka
2023-11-13 01:46:28 +02:00
parent a25022532e
commit 1066131143
9 changed files with 88 additions and 28 deletions
+2 -2
View File
@@ -429,7 +429,7 @@ export default {
}
if (['select', 'multiple', 'radio'].includes(type)) {
field.options = ['']
field.options = [{ value: '', uuid: v4() }]
}
this.drawField = field
@@ -592,7 +592,7 @@ export default {
}
if (['select', 'multiple', 'radio'].includes(field.type)) {
field.options = ['']
field.options = [{ value: '', uuid: v4() }]
}
const fieldArea = {