Fix: Unable to use hyphen in the legal name section#63733
Conversation
|
@abdulrahuman5196 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] |
|
@allgandalf Could you kindly merge from main and fix the TS errors if required? |
|
done ! |
|
Checking now |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen.Recording.2025-06-18.at.11.28.03.PM.mp4Android: mWeb ChromeScreen.Recording.2025-06-18.at.11.29.13.PM.mp4iOS: HybridAppScreen.Recording.2025-06-18.at.8.58.09.PM.mp4iOS: mWeb SafariScreen.Recording.2025-06-18.at.8.58.33.PM.mp4MacOS: Chrome / SafariScreen.Recording.2025-06-18.at.8.20.16.PM.mp4MacOS: DesktopScreen.Recording.2025-06-18.at.8.20.52.PM.mp4 |
abdulrahuman5196
left a comment
There was a problem hiding this comment.
Changes looks good and works well. Reviewers checklist is also complete.
All yours. @stitesExpensify
🎀 👀 🎀
C+ Reviewed
|
@stitesExpensify before merging, please update backend to accept all kinds of strings |
|
bump @stitesExpensify |
|
✋ 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/stitesExpensify in version: 9.1.73-0 🚀
|
|
🚀 Deployed to production by https://github.com/puneetlath in version: 9.1.73-0 🚀
|
| const errors: Errors = {}; | ||
|
|
||
| if (typeof values.legalFirstName === 'string') { | ||
| if (!ValidationUtils.isValidLegalName(values.legalFirstName)) { |
There was a problem hiding this comment.
Removing this caused comma and semi-colon to be added in name. More details #65223
Explanation of Change
Fixed Issues
$ #58303
PROPOSAL: #58303 (comment)
Tests
Offline tests
QA Steps
Verify that User is able to enter name with hyphen
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.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
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop