From 0088559b912ca6eb6745c34fadedda0c251c8dcd Mon Sep 17 00:00:00 2001 From: "Mr.Crowley" Date: Tue, 24 Feb 2026 01:14:50 -0600 Subject: [PATCH] qb also returns strings for some reason qb returns "true" or "false" instead of true or false for checkbox's and probably other stuff. Converting to bools to be consistent with ox's returns --- modules/input/qb-input/client.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/input/qb-input/client.lua b/modules/input/qb-input/client.lua index 3742d57..d9dcd5e 100644 --- a/modules/input/qb-input/client.lua +++ b/modules/input/qb-input/client.lua @@ -33,6 +33,7 @@ function Input.Open(title, data, isQBFormat, submitText) for i, v in pairs(returnData) do local index = i and tonumber(i) + v = tostring(v) == "true" and true or (tostring(v) == "false" and false or v) if not index then table.insert(convertedData, v) else