-
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
Details - Zip code does not shown a error message #20899
Comments
Triggered auto assignment to @conorpendergrast ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Details - Zip code does not shown a error message What is the root cause of that problem?We don't set zipcode in required field
Although, we just validated the zipcode field in here App/src/pages/settings/Profile/PersonalDetails/AddressPage.js Lines 106 to 113 in bd0e843
But this code only be executed when a country is selected What changes do you think we should make in order to solve the problem?add zipcode into required fields
and we also update the the logic to validate the zipcode here App/src/pages/settings/Profile/PersonalDetails/AddressPage.js Lines 106 to 116 in bd0e843
to remove redundant logic like this
If we want to prioritize checking the required field before the Incorrect zip code format we can move this logic App/src/pages/settings/Profile/PersonalDetails/AddressPage.js Lines 92 to 97 in bd0e843
What alternative solutions did you explore? (Optional) |
I think this is not a bug as zipcode is not a required field for all the countries and depends on the selected country. |
I agree that I think this is intentional as not all countries require a zip/ post code. |
I was wrong! Zip code is now a required field (internal discussion); for those countries that don't have zipcodes, a customer will just enter placeholder characters like |
A little more nuanced here:
That was introduced in this PR. So, this is not a bug!~ |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Issue found when executing PR #20228 Part 3. Personal Details
Action Performed:
Expected Result:
Every input has an error message
Actual Result:
Zip code does not shown a error message
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.28.3
Reproducible in staging?: yes
Reproducible in production?: yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: