diff --git a/src/components/IntegerInput.tsx b/src/components/IntegerInput.tsx index 1745a9d..2072b07 100644 --- a/src/components/IntegerInput.tsx +++ b/src/components/IntegerInput.tsx @@ -75,7 +75,8 @@ export const IntegerInput: FC<{ const handleChange = useCallback( (e: React.ChangeEvent) => { - const input = e.target.value + // Exclude thousands separators when pasting + const input = e.target.value.replace(/[,. ']/g, "") // Allow empty input if (input === "") {