cleanup and fixes

This commit is contained in:
Mikayla Fischler
2023-12-30 19:21:44 -05:00
parent 622e2eeb90
commit 6a931fced4
3 changed files with 24 additions and 28 deletions

View File

@@ -134,7 +134,7 @@ local function number_field(args)
local min = tonumber(args.min)
if type(val) == "number" then
if util.is_int(args.max_int_digits) or args.max_frac_digits then
if args.max_int_digits or args.max_frac_digits then
local str = e.value
local ceil = false