You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Due for payment 2025-04-08] [$250] Tax - After a digit, entering dot moves the first digit while adding tax rate #56951
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Version Number: 9.0.99-0 Reproducible in staging?: Y Reproducible in production?: Y If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Y If this was caught during regression testing, add the test name, ID and link from TestRail: N/A Issue reported by: Applause - Internal Team
Action Performed:
Launch app
Go to workspace settings - more features - enable tax
Tap add rate - value
Enter a digit eg: 3 and enter decimal point
Expected Result:
After a digit, entering dot must not move the first digit while adding tax rate
Actual Result:
After a digit, entering dot moves the first digit while adding tax rate
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Android: Standalone
Android: HybridApp
Android: mWeb Chrome
iOS: Standalone
iOS: HybridApp
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop
Screenshots/Videos
Add any screenshot/video evidenceBug6745800_1739803897453.Screenrecorder-2025-02-17-20-15-48-207.mp4
changed the title [-]Tax - After a digit, entering dot moves the first digit while adding tax rate[/-][+][$250] Tax - After a digit, entering dot moves the first digit while adding tax rate[/+]on Feb 20, 2025
⚠️@D-01576 Thanks for your proposal. Please update it to follow the proposal template, as proposals are only reviewed if they follow that format (note the mandatory sections).
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Activity
melvin-bot commentedon Feb 17, 2025
Triggered auto assignment to @twisterdotcom (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.[-]Tax - After a digit, entering dot moves the first digit while adding tax rate[/-][+][$250] Tax - After a digit, entering dot moves the first digit while adding tax rate[/+]melvin-bot commentedon Feb 20, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021892375042404364604
melvin-bot commentedon Feb 20, 2025
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eh2077 (
External)D-01576 commentedon Feb 20, 2025
🚨 Edited by proposal-police: This proposal was edited at 2025-02-20 07:20:09 UTC.
Proposal
Please re-state the problem that we are trying to solve in this issue.
Tax - After a digit, entering dot moves the first digit while adding tax rate
What is the root cause of that problem?
The regex required a digit after
., making3.invalid.In
src/libs/MoneyRequestUtils.tsvalidateAmountused:❌ This forced at least one digit after .❌ 3. was invalid → UI reset selectionWhat changes do you think we should make in order to solve the problem?
In
src/libs/MoneyRequestUtils.tsUpdate this line in
validateAmount:to this:
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
3.3.53.55(withdecimals = 2)003.5What alternative solutions did you explore? (Optional)
github-actions commentedon Feb 20, 2025
eh2077 commentedon Feb 20, 2025
@D-01576 Thanks for your proposal. But your root cause analysis is not clear to me. Can you elaborate please?
66 remaining items
twisterdotcom commentedon Apr 8, 2025
Okay, are we saying this has basically caused another bug? If so, could we get @huult to fix it and hold #59607?
huult commentedon Apr 9, 2025
@twisterdotcom I will get back you soon
huult commentedon Apr 11, 2025
@twisterdotcom commented
twisterdotcom commentedon Apr 11, 2025
Proposed plan here: #59607 (comment)
twisterdotcom commentedon Apr 14, 2025
Waiting on resolution of the convo here. Looking like this will still be $250 though.
twisterdotcom commentedon Apr 15, 2025
All good. Let's get this payment sorted now.
twisterdotcom commentedon Apr 15, 2025
Payment Summary:
JmillsExpensify commentedon Apr 22, 2025
$250 approved for @eh2077