-
Notifications
You must be signed in to change notification settings - Fork 394
[TRAH-2983] shahzaib / post code validation in real account signup #13896
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
[TRAH-2983] shahzaib / post code validation in real account signup #13896
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
A production App ID was automatically generated for this PR. (log)
Click here to copy & paste above information. |
|
🚨 Lighthouse report for the changes in this PR:
Lighthouse ran with https://deriv-app-git-fork-shahzaib-deriv-trah-2983post-zip-code-7e8747.binary.sx/ |
| address_line_1: /^[\p{L}\p{Nd}\s'.,:;()\u00b0@#/-]{1,70}$/u, | ||
| address_line_2: /^[\p{L}\p{Nd}\s'.,:;()\u00b0@#/-]{0,70}$/u, | ||
| address_postcode: /^[a-zA-Z0-9\s-]{0,20}$/, | ||
| address_postcode: /^(?! )[a-zA-Z0-9\s-]{0,20}$/, |
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.
updated the regex to disallow space in the beginning
packages/account/src/Components/address-details/__tests__/address-details.spec.tsx
Show resolved
Hide resolved
|
|
⏳ Generating Lighthouse report... |




Changes:
Testing
Screen.Recording.2024-02-29.at.1.55.01.PM.mov