mirror of
https://github.com/actualbudget/actual.git
synced 2026-07-15 22:54:03 -05:00
[GH-ISSUE #2997] [Bug]: Mobile view: cannot enter number longer than 3 digits when using number format "1 000.33" AND enabling "Hide decimal places" #70944
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @andriantoeff on GitHub (Jul 7, 2024).
Original GitHub issue: https://github.com/actualbudget/actual/issues/2997
Verified issue does not already exist?
What happened?
Condition:
Case 1:
When user enters 4 digits, it displays in "1,000" number format, and will turn to a rounded 1 digit value after losing focus (e.g. "4,444" becomes "4"; "5,555" becomes "6").
Case 2:
And then when user tries to enter the fifth digit, it will turn to a rounded 1 digit value (e.g. "4,444" becomes "4" when keying in the fifth digit; "5,555" becomes "6" when keying in the fifth digit).
Case 1 & 2 combined means: user can only add transactions with 1 to 3 digit values.
Happened only in mobile view. Tested with other number format and show/hide decimal places combination and they are working normally.
Extra info:
Where are you hosting Actual?
Docker
What browsers are you seeing the problem on?
Chrome
Operating System
Mobile Device
@MatissJanis commented on GitHub (Jul 9, 2024):
Fixed by https://github.com/actualbudget/actual/pull/2981
@andriantoeff commented on GitHub (Jul 14, 2024):
"Fixed" by #2981 summary: Number format "1 000.33" has been removed as it came from using "dje" locale format. The "dje" locale format is unfortunately not supported by the Chrome browser.
That's really unfortunate, but "1 000,33" can be an option to use along some efforts to make "," and "." can be used interchangeably as a decimal separator, at least for "1 000,33" number format. Depending on your expectation, it may have been implemented for some use-case.