From 166a563965b25d3501bf6f75e0bdeb796bc3e5e8 Mon Sep 17 00:00:00 2001 From: MickaelK Date: Wed, 14 Oct 2026 04:47:12 +1100 Subject: [PATCH] fix (tsc): tsc check error --- public/assets/components/form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/assets/components/form.js b/public/assets/components/form.js index 26eeced0..638295d2 100644 --- a/public/assets/components/form.js +++ b/public/assets/components/form.js @@ -145,7 +145,7 @@ export function $renderInput(options = {}) { /> `); if (!($input instanceof HTMLInputElement)) throw new ApplicationError("INTERNAL_ERROR", "assumption failed: missing input"); - else if (typeof value === "number") $input.value = value; + else if (typeof value === "number") $input.value = String(value); attrs.map((setAttribute) => setAttribute($input)); return $input; }