1
0
Fork 0
mirror of synced 2024-08-18 11:31:28 +12:00

don't coerce options type to array when switching to bindings

This commit is contained in:
Peter Clement 2023-02-06 12:08:28 +00:00
parent 7e0c723730
commit 99287b9a5a

View file

@ -70,7 +70,7 @@
return Number(value) return Number(value)
} }
if (type === "options") { if (type === "options") {
return [value] return value
} }
if (type === "array") { if (type === "array") {
if (Array.isArray(value)) { if (Array.isArray(value)) {