Fix 20200: Fails to Proceed with Similar Routing and Account Numbers Without Error Message#20560
Conversation
|
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
|
@aldo-expensify @thesahindia One of you needs to copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
…to Slack discussion
|
@thesahindia @aldo-expensify The new Spanish translation for |
|
@tienifr, please resolve the conflicts. |
…ing-and-account-number
|
@thesahindia Thanks. The conflict has been resolved. |
Reviewer Checklist
Screenshots/Videos |
thesahindia
left a comment
There was a problem hiding this comment.
Looks good to me!
cc: @aldo-expensify
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/aldo-expensify in version: 1.3.30-0 🚀
|
|
🚀 Deployed to production by https://github.com/luacmartins in version: 1.3.30-5 🚀
|






Details
This PR adds a condition in
BankAccountManualStep.jsthat would display client error message when the routing number and account number are simiilar. It also adds a logic inForm.jsto prevent triggering the functiononValidatewhen the component is first rendered.Fixed Issues
$ #20200
PROPOSAL: #20200 (comment)
Tests
Offline tests
N/A
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Web
20200-web.mov
Mobile Web - Chrome
20200-mweb-chrome.mov
Mobile Web - Safari
20200-mweb-safari.mov
Desktop
20200-desktop.mov
iOS
20200-ios.mov
Android
20200-android.mov