mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-28 10:33:02 -05:00
fix (#5270)
This commit is contained in:
@@ -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;
|
||||
|
||||
6
upcoming-release-notes/5270.md
Normal file
6
upcoming-release-notes/5270.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Bugfix
|
||||
authors: [youngcw]
|
||||
---
|
||||
|
||||
Fix adding decimals to desktop amount inputs
|
||||
Reference in New Issue
Block a user