ui fixes, input fixes, better dev workflow
All checks were successful
Deploy / deploy (push) Successful in 2m2s
Security Tests / security-non-db (push) Successful in 20s
Security Tests / security-db (push) Successful in 24s

This commit is contained in:
2026-03-10 23:01:44 -05:00
parent 809b75ea4e
commit 72334b2583
19 changed files with 319 additions and 61 deletions

View File

@@ -30,7 +30,7 @@ export default function CurrencyInput({
}: Props) {
const mergedClass = ["input", className].filter(Boolean).join(" ");
const formatString = (raw: string) => {
const cleanedRaw = raw.replace(/[^0-9.]/g, "");
const cleanedRaw = raw.replace(/,/g, ".").replace(/[^0-9.]/g, "");
const parts = cleanedRaw.split(".");
return parts.length === 1
? parts[0]