Open IuliiaHerets opened 1 week ago
Triggered auto assignment to @OfstadC (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.
@OfstadC FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors
Long State/Province text can not be saved on Address modal
State/Province char limit for international address in BE is 32
Create new const to store STATE_CHARACTER_LIMIT
STATE_CHARACTER_LIMIT: 32,
Update the max length for state/province https://github.com/Expensify/App/blob/8c5141ad3bfeaeb3dab47321e46d430028abdc3b/src/components/AddressForm.tsx#L209 https://github.com/Expensify/App/blob/8c5141ad3bfeaeb3dab47321e46d430028abdc3b/src/pages/MissingPersonalDetails/substeps/Address.tsx#L136
maxLength={CONST.STATE_CHARACTER_LIMIT}
Additionally we can adjust the STATE_CHARACTER_LIMIT value if needed
Job added to Upwork: https://www.upwork.com/jobs/~021836427775692517927
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rayane-djouah (External
)
Internal references:
So let's update the FE to match the BE's 32 character limit for states with foreign addresses. 👍
@nyomanjyotisa's proposal looks good to me,
:ribbon::eyes::ribbon: C+ reviewed
Triggered auto assignment to @carlosmiceli, see https://stackoverflow.com/c/expensify/questions/7972 for more details.
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.35-0 Reproducible in staging?: Y Reproducible in production?: Y If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4963582&group_by=cases:section_id&group_order=asc&group_id=229064 Email or phone of affected tester (no customers): gocemate+a2148@gmail.com Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
Edited State/Province info should update since user is allowed to add 50 characters
Actual Result:
Long State/Province can not be saved on Address modal
Workaround:
Unknown
Platforms:
Screenshots/Videos
https://github.com/user-attachments/assets/1ba8ed5a-388a-41cf-9273-25f949f90a9a
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @rayane-djouah