Improve Phone Number Validation and Country Selection in User Profile – Edit Profile #88

Closed
opened 2026-10-28 05:59:31 +00:00 by sanskar · 3 comments
Member

In User App → Profile, changing the country does not automatically update the country code in the mobile number field, which retains the previous country code. The system also allows invalid mobile numbers containing hyphens (e.g., 789--98--809) to be saved successfully. After saving, when the user tries to log in again using the saved number, the login field automatically removes the hyphens and + sign and displays an invalid number message. The system should update the country code when the country changes and prevent invalid mobile numbers from being saved.

In User App → Profile, changing the country does not automatically update the country code in the mobile number field, which retains the previous country code. The system also allows invalid mobile numbers containing hyphens (e.g., 789--98--809) to be saved successfully. After saving, when the user tries to log in again using the saved number, the login field automatically removes the hyphens and + sign and displays an invalid number message. The system should update the country code when the country changes and prevent invalid mobile numbers from being saved.
urvish was assigned by amit 2026-10-29 04:44:55 +00:00
amit added this to the Acupedia Project project 2026-10-29 04:44:58 +00:00
amit added the
Priority
Medium
label 2026-10-29 04:45:09 +00:00
sanskar was assigned by urvish 2026-10-29 08:43:09 +00:00
sanskar changed title from in Edit profile, Profile Country Change Fails to Update Mobile Country Code & Allows Invalid Numbers with Hyphens to Be Saved to Improve Phone Number Validation and Country Selection in User Profile – Edit Profile 2026-11-12 04:43:29 +00:00
Author
Member

Currently just two have issues in edit profile page.

  1. When the user changes the selected country, the previously entered phone number should be automatically cleared.

  2. The Select Country field should include a search bar, display countries with show their respective country codes.

Currently just two have issues in edit profile page. 1. When the user changes the selected country, the previously entered phone number should be automatically cleared. 2. The Select Country field should include a search bar, display countries with show their respective country codes.
Member

fixed

fixed
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: AcuPedia/acupedia-mobile-ui#88
No description provided.