-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Fix switching to manual address when adding bank account #6332
Conversation
Adding CP Staging label since this fixes a deploy blocker |
|
Ah yes thanks, I forgot. |
@@ -133,7 +133,7 @@ const IdentityForm = (props) => { | |||
errorText={props.errors.ssnLast4 ? props.translate('bankAccount.error.ssnLast4') : ''} | |||
maxLength={CONST.BANK_ACCOUNT.MAX_LENGTH.SSN} | |||
/> | |||
{props.manualAddress ? ( | |||
{props.values.manualAddress ? ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do the other props need to be updated as well? For example, value={props.city}
is still used even though city
is inside values
in the propTypes definition.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Uh yeah good thinking, probably. I was too focused on fixing the issue and didn't think to check the rest, I'll check now.
Updated code and test steps. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, confirmed it works on mobile as well 🚀
Fix switching to manual address when adding bank account (cherry picked from commit 24faffc)
🚀 Cherry-picked to staging by @Jag96 in version: 1.1.15-3 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to production by @AndrewGable in version: 1.1.15-15 🚀
|
🚀 Deployed to production by @roryabraham in version: 1.1.16-10 🚀
|
Pullerbear review (@cead22)
Details
When adding a bank account, fix the
Can't find your address? Enter it manually
link.Fixed Issues
$ #6323
Tests / QA
Screen.Recording.2021-11-16.at.12.41.13.PM.mov
Tested On