Update _qb-input.lua
Fixed issue with default option not working correctly when creating qb-input menu
This commit is contained in:
1 file changed
+1
-1
@@ -36,7 +36,7 @@ function OxToQBInput(data)
|
||||
name = i,
|
||||
type = OxTypeToQBType(v.type),
|
||||
isRequired = v.required,
|
||||
placeholder = v.default,
|
||||
default = v.default or "",
|
||||
}
|
||||
if v.type == "select" then
|
||||
input.text = ""
|
||||
|
||||
Reference in new issue
Block a user