Skip to content

Distance rates - Unable to enter the third decimal place value for distance rate #42778

@m-natarajan

Description

@m-natarajan

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: 1.4.77-0
Reproducible in staging?: y
Reproducible in production?: n
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause internal team
Slack conversation:

Action Performed:

Precondition:

  • Workspace has enabled Distance rates.
  1. Go to staging.new.expensify.com
  2. Go to workspace settings.
  3. Go to Distance rates.
  4. Click on any rate.
  5. Click Rate.
  6. Clear the amount.
  7. Enter any amount with 3 decimal places.

Expected Result:

User should be allowed to enter distance rate with 3 decimal places (production behavior), also, because the distance rate is always shown in three decimal places.

Actual Result:

User is only able to enter at most two decimal places for distance rate.

Workaround:

unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6495246_1716997699869.20240529_234428.mp4

View all open jobs on GitHub

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.DeployBlockerIndicates it should block deploying the APIEngineeringHourlyKSv2

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions