Input.lua : allow default in oxlib "number" type

This commit is contained in:
oosayeroo
2025-09-25 02:17:48 +01:00
parent ee15f3b076
commit 2cf80881e4

View File

@@ -64,6 +64,7 @@ function createInput(title, opts)
label = (opts[i].label or opts[i].text)..(opts[i].txt and " - "..opts[i].txt or ""), label = (opts[i].label or opts[i].text)..(opts[i].txt and " - "..opts[i].txt or ""),
isRequired = opts[i].isRequired, isRequired = opts[i].isRequired,
name = opts[i].name, name = opts[i].name,
default = opts[i].default,
options = opts[i].options, options = opts[i].options,
} }
end end