Refactor AddDebitCardPage to use Form#9056
Conversation
|
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
thienlnam
left a comment
There was a problem hiding this comment.
Changes look good, need to run through and do some testing
|
Tests well! Wasn't able to add a card but I assume it has to do with the dev environment |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
@thienlnam did you see any errors? If the card is just not showing up on the list, it might be because of this. |
|
🚀 Deployed to staging by @thienlnam in version: 1.1.74-0 🚀
|
|
🚀 Deployed to production by @yuwenmemon in version: 1.1.74-2 🚀
|
There was a problem hiding this comment.
This regression was caused by the change introduced in this PR.
Issue: 'Find a member' doesn't update dynamically on the placeholder

Details
Refactors
AddDebitCardPageto use our new Form component!Fixed Issues
$ #9043
Tests
Settings > Payments > Add payment method > Debit cardfix the errorslink now should focus on the first input with error./to the user input. The field still accepts a/, but it must be manually entered by the user.PR Review Checklist
Contributor (PR Author) Checklist
### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*filesSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */displayNamepropertythisproperly 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)PR Reviewer Checklist
### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick).src/languages/*filesSTYLE.md) were followed/** comment above it */displayNamepropertythisproperly 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)QA Steps
Screenshots
Web
web.mov
Mobile Web
mweb.mov
Desktop
desktop.mov
iOS
ios.mov
Android
android.mov