Skip to content

Comments

Feat/489/amount calculator#497

Open
CampiAlessandro wants to merge 2 commits intospliit-app:mainfrom
CampiAlessandro:feat/489/amount-calculator
Open

Feat/489/amount calculator#497
CampiAlessandro wants to merge 2 commits intospliit-app:mainfrom
CampiAlessandro:feat/489/amount-calculator

Conversation

@CampiAlessandro
Copy link

Adds calculator functionality to the amount field, allowing users to enter mathematical expressions (e.g., 120.50 + 45.75) that automatically evaluate to the computed result. This eliminates the need for external calculators and reduces input errors.

Changes:

  • Supports basic arithmetic operators: +, -, *, /
  • Evaluates on blur/confirmation
  • Maintains backward compatibility with direct numeric input

Resolves #489

- Added AmountCalculator for improved amount input handling.
- Introduced InputGroup and Popover components for better UI structure.
- Refactored expense form default values and input handling for consistency.
- Updated imports to include new components and maintain code organization.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature request] Calculate the amount: basic math in "Amount" field

1 participant