-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Web - Pay someone - Error message still displayed after removing incorrect code #52454
Comments
Triggered auto assignment to @jliexpensify ( |
Triggered auto assignment to @lakchote ( |
💬 A slack conversation has been started in #expensify-open-source |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
Edited by proposal-police: This proposal was edited at 2024-11-13 09:39:07 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Error message still displayed after removing incorrect code What is the root cause of that problem?When a wrong magic code is entered we display error message for App/src/components/ValidateCodeActionModal/ValidateCodeForm/BaseValidateCodeForm.tsx Line 205 in c24d217
And on text input change we are not clearing the error message from account.errors hereApp/src/components/ValidateCodeActionModal/ValidateCodeForm/BaseValidateCodeForm.tsx Lines 165 to 172 in c24d217
What changes do you think we should make in order to solve the problem?We should clear the error from
Note: we need to add account.errors to the onTextInput callback dependency list What alternative solutions did you explore? (Optional) |
I can raise a quick pr if needed |
It's not a blocker as it doesn't prevent the user from entering a correct code. |
The offending PR is #50835 cc @arosiclair |
Fixed in v9.0.61-1: Screen.Recording.2024-11-13.at.4.48.54.PM.mov |
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.61.0
Reproducible in staging?: Y
Reproducible in production?: N
Issue was found when executing this PR: #50835
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
The underscore turns green and the error message disappears
Actual Result:
The underscore is still red and the error message is still displayed. The error is still displayed after retuning to the previous screen and selecting Pay with expensify again
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6663345_1731471083313.Recording__944.mp4
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: