Skip to content

A local-first personal finance app

fix (#5270)

youngcw4aea6f48987e
diff --git a/packages/desktop-client/src/components/util/AmountInput.tsx b/packages/desktop-client/src/components/util/AmountInput.tsx
index b3711e9731..0df7a5283c 100644
--- a/packages/desktop-client/src/components/util/AmountInput.tsx
+++ b/packages/desktop-client/src/components/util/AmountInput.tsx
@@ -18,11 +18,7 @@ import { View } from '@actual-app/components/view';
import { css, cx } from '@emotion/css';
import { evalArithmetic } from 'loot-core/shared/arithmetic';
-import {
- amountToInteger,
- appendDecimals,
- reapplyThousandSeparators,
-} from 'loot-core/shared/util';
+import { amountToInteger, appendDecimals } from 'loot-core/shared/util';
import { useFormat } from '@desktop-client/hooks/useFormat';
import { useMergedRefs } from '@desktop-client/hooks/useMergedRefs';
@@ -100,7 +96,6 @@ export function AmountInput({
}
function onInputTextChange(val) {
- val = reapplyThousandSeparators(val);
val = autoDecimals
? appendDecimals(val, String(hideFraction) === 'true')
: val;
diff --git a/upcoming-release-notes/5270.md b/upcoming-release-notes/5270.md
new file mode 100644
index 0000000000..5e7784fa28
--- /dev/null
+++ b/upcoming-release-notes/5270.md
@@ -0,0 +1,6 @@
+---
+category: Bugfix
+authors: [youngcw]
+---
+
+Fix adding decimals to desktop amount inputs