Skip to content

Form inputs without shouldSaveDraft don't update their value and submit stale data #8567

Closed

Description

@luacmartins

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


Action Performed:

  1. Run npm run storybook
  2. Update the value of an input without the shouldSaveDraft param, e.g. Account number in the default story.
  3. Submit the form and verify that the value submitted is stale

Expected Result:

The value should be updated and submitted correctly.

Actual Result:

Value updates on the UI, but the submitted value is stale.

Workaround:

None.

Platform:

  • Web
  • iOS
  • Android
  • Desktop App
  • Mobile Web

Version Number:
Reproducible in staging?:
Reproducible in production?:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
Issue reported by:
Slack conversation:

View all open jobs on GitHub

Activity

  1. self-assigned this
    on Apr 8, 2022
  2. luacmartins commented on Apr 18, 2022

    @luacmartins
    ContributorAuthor

    Working on it this week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions