Skip to content

Per diem - The Quantity field allows float number #54889

@lanitochka17

Description

@lanitochka17

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: 9.0.81-1
Reproducible in staging?: Y
Reproducible in production?: Unable to check
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: #54252
Issue reported by: Applause - Internal Team
Component: Money Requests

Action Performed:

Precondition
Workspace has Per diem enabled and Per diem rates loaded

  1. Go to staging.new.expensify.com
  2. Go to FAB > Create expense > Per diem tab
  3. Select any country
  4. Select start and end dates
  5. Select any Subrate
  6. Enter a float number in the Quantity field
  7. Click on Save

Expected Result:

The field should not allow entering a float number (similar to OldDot behavior)

Actual Result:

The Quantity field allows entering a float number and the number is trim to a integer in the Confirm details pag

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 evidence
Bug6708284_1736265757230.Per_diem-float_number.mp4

View all open jobs on GitHub

Metadata

Metadata

Assignees

Labels

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