select fix
issues with input select for qb. Try dat
This commit is contained in:
1 parent
4450c9c448
commit
1a0707efac
1 file changed
+8
-6
@@ -39,14 +39,16 @@ function OxToQBInput(data)
|
|||||||
}
|
}
|
||||||
if v.type == "select" then
|
if v.type == "select" then
|
||||||
input.text = ""
|
input.text = ""
|
||||||
input.options = {
|
input.options = {}
|
||||||
{value = v.value, text = v.label}
|
for k, j in pairs(v.options) do
|
||||||
}
|
table.insert(input.options, {value = j.value, text = j.label})
|
||||||
|
end
|
||||||
elseif v.type == "checkbox" then
|
elseif v.type == "checkbox" then
|
||||||
input.text = ""
|
input.text = ""
|
||||||
input.options = {
|
input.options = {}
|
||||||
{value = v.value, text = v.label}
|
for k, j in pairs(v.options) do
|
||||||
}
|
table.insert(input.options, {value = j.value, text = j.label})
|
||||||
|
end
|
||||||
end
|
end
|
||||||
table.insert(returnData, input)
|
table.insert(returnData, input)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in new issue
Block a user