Update _qb-input.lua

Fixed issue with default option not working correctly when creating qb-input menu
This commit is contained in:
Sky authored and GitHub committed 2025-04-20 10:40:14 +01:00
1 parent de98315aff
commit 28c220082c
1 file changed
+1 -1
+1 -1
View File
@@ -36,7 +36,7 @@ function OxToQBInput(data)
name = i, name = i,
type = OxTypeToQBType(v.type), type = OxTypeToQBType(v.type),
isRequired = v.required, isRequired = v.required,
placeholder = v.default, default = v.default or "",
} }
if v.type == "select" then if v.type == "select" then
input.text = "" input.text = ""