-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 - prevent server errors from being cleared on form input field blur #23306
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 |
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.
LGTM
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.
✋ 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 Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.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