[PR #5763] [CLOSED] [WIP] fix: remove hidden decimals check in amount input #120819

Closed
opened 2026-06-11 18:27:45 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/5763
Author: @csenel
Created: 9/21/2025
Status: Closed

Base: masterHead: fix-hidden-decimal-input


📝 Commits (3)

  • e8ce0ea remove hidden decimals check in amount input
  • 896f60a generate release notes, yarn lint and change input value
  • 26b35ce update to show with decimal, fix lint warnings

📊 Changes

7 files changed (+15 additions, -15 deletions)

View changed files

📝 packages/desktop-client/src/components/mobile/transactions/FocusableAmountInput.tsx (+3 -3)
📝 packages/desktop-client/src/components/mobile/transactions/TransactionEdit.jsx (+0 -1)
📝 packages/desktop-client/src/components/modals/HoldBufferModal.tsx (+0 -1)
📝 packages/desktop-client/src/components/modals/TransferModal.tsx (+0 -1)
📝 packages/desktop-client/src/components/util/AmountInput.tsx (+1 -6)
📝 packages/loot-core/src/shared/util.ts (+5 -3)
upcoming-release-notes/5763.md (+6 -0)

📄 Description

Fixes https://github.com/actualbudget/actual/issues/3294

Attempt to fix the bug above. The code looked a bit cryptic to me but it seems like the hideFraction setting is applied while editing the text. This in turn changes the amount for the transaction. Removing this check should show the actual value while editing.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/5763 **Author:** [@csenel](https://github.com/csenel) **Created:** 9/21/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `fix-hidden-decimal-input` --- ### 📝 Commits (3) - [`e8ce0ea`](https://github.com/actualbudget/actual/commit/e8ce0ea38657d1d3c9b19af567e6b764b47c938c) remove hidden decimals check in amount input - [`896f60a`](https://github.com/actualbudget/actual/commit/896f60a108d49fecb36c03d058eb8e4695695379) generate release notes, yarn lint and change input value - [`26b35ce`](https://github.com/actualbudget/actual/commit/26b35ce40e38442724ca2ed1819439608b4592f2) update to show with decimal, fix lint warnings ### 📊 Changes **7 files changed** (+15 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/components/mobile/transactions/FocusableAmountInput.tsx` (+3 -3) 📝 `packages/desktop-client/src/components/mobile/transactions/TransactionEdit.jsx` (+0 -1) 📝 `packages/desktop-client/src/components/modals/HoldBufferModal.tsx` (+0 -1) 📝 `packages/desktop-client/src/components/modals/TransferModal.tsx` (+0 -1) 📝 `packages/desktop-client/src/components/util/AmountInput.tsx` (+1 -6) 📝 `packages/loot-core/src/shared/util.ts` (+5 -3) ➕ `upcoming-release-notes/5763.md` (+6 -0) </details> ### 📄 Description <!-- Thank you for submitting a pull request! Make sure to follow the instructions to write release notes for your PR — it should only take a minute or two: https://github.com/actualbudget/docs#writing-good-release-notes. Try running yarn generate:release-notes *before* pushing your PR for an interactive experience. --> Fixes https://github.com/actualbudget/actual/issues/3294 Attempt to fix the bug above. The code looked a bit cryptic to me but it seems like the `hideFraction` setting is applied while editing the text. This in turn changes the amount for the transaction. Removing this check should show the actual value while editing. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-06-11 18:27:45 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#120819