fix: select options not working
This commit is contained in:
parent
8f1637ffa1
commit
f34e9bdaeb
@ -128,6 +128,10 @@ function updateValue(v) {
|
||||
newValue.value = value
|
||||
}
|
||||
|
||||
function getSelectOptions(options) {
|
||||
return options.split('\n')
|
||||
}
|
||||
|
||||
function getValueComponent(f) {
|
||||
const { type, options } = f
|
||||
if (typeSelect.includes(type) || typeCheck.includes(type)) {
|
||||
@ -138,6 +142,7 @@ function getValueComponent(f) {
|
||||
label: o,
|
||||
value: o,
|
||||
})),
|
||||
modelValue: newValue.value,
|
||||
})
|
||||
} else if (typeLink.includes(type)) {
|
||||
if (type == 'Dynamic Link') {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user