diff --git a/modules/input/_qb-input.lua b/modules/input/_qb-input.lua index 4371b81..b08b0f1 100644 --- a/modules/input/_qb-input.lua +++ b/modules/input/_qb-input.lua @@ -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 = "" @@ -85,4 +85,4 @@ function OpenInput(title, data, isQBFormat, submitText) convertedData[tonumber(i)] = v end return convertedData -end \ No newline at end of file +end