ox input default "select"

This commit is contained in:
Jim Shield
2024-01-23 00:37:18 +00:00
committed by GitHub
parent f7a7e89c56
commit 7d62358558

View File

@@ -771,7 +771,7 @@ function createInput(title, opts)
isRequired = opts[i].isRequired,
label = opts[i].label or opts[i].text,
name = opts[i].name,
default = opts[i].options[1].value,
default = opts[i].default or opts[i].options[1].value,
options = opts[i].options,
}
end