Fix - prevent server errors from being cleared on form input field blur#23306
Fix - prevent server errors from being cleared on form input field blur#23306techievivek merged 2 commits intoExpensify:mainfrom
Conversation
Solution to server errors being cleared as soon as an input field loses focus (on blur). For issue Expensify#21838
…r on blur For issue Expensify#21838
|
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
|
@eVoloshchak Please 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] |
|
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
|
@joh42, is this ready for review? |
|
I have read the CLA Document and I hereby sign the CLA |
|
recheck |
|
Yes @eVoloshchak this is now ready for review |
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-07-24.at.21.39.54.movMobile Web - Chromescreen-20230724-214817.mp4Mobile Web - SafariScreen.Recording.2023-07-24.at.21.52.22.movDesktopScreen.Recording.2023-07-24.at.21.58.35.moviOSScreen.Recording.2023-07-24.at.21.56.39.movAndroidscreen-20230724-214850.mp4 |
|
✋ 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/techievivek in version: 1.3.46-0 🚀
|
|
🚀 Deployed to staging by https://github.com/techievivek in version: 1.3.47-0 🚀
|
|
🚀 Deployed to production by https://github.com/marcaaron in version: 1.3.46-2 🚀
|
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.3.47-6 🚀
|
Details
Fixed Issues
$ #21838
PROPOSAL: #21838 (comment)
Tests
Username: user_good
Password: pass_good
Offline tests
N/A
QA Steps
Same as tests
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
Screen.Recording.2023-07-23.at.8.12.02.PM.mov
Mobile Web - Chrome
Screen.Recording.2023-07-24.at.15.41.22.mov
Mobile Web - Safari
Screen.Recording.2023-07-24.at.13.21.45.mov
Desktop
Screen.Recording.2023-07-23.at.8.25.42.PM.mov
iOS
Screen.Recording.2023-07-24.at.13.44.01.mov
Android
Screen.Recording.2023-07-24.at.15.53.52.mov