Commit Graph

11 Commits

Author SHA1 Message Date
Urvish Prajapati b2fe1e635e fix(validation): prioritize length errors over prefix errors in phone validation 2026-11-16 16:30:50 +05:30
Urvish Prajapati 0c60b835a0 fix(validation): add country-specific mobile phone validation and libphonenumber-js
- Integrate libphonenumber-js to validate country mobile numbering plans (e.g., France 06/07, India 6-9, UK 07)
- Add ISO-2 country codes to eliminate dropdown collisions between countries sharing dial codes (+1 for US and Canada)
- Automatically strip leading national trunk zero (0) when converting to standard international E.164 format
- Ensure new dependency is registered in package.json and package-lock.json for npm install
2026-11-16 16:13:36 +05:30
Amit Salunke 4c3730a550 Merge pull request 'fix(auth): enforce strict national phone length and prevent country code combining in mobile app' (#122) from fix/standardized-phone-validation into main
Reviewed-on: https://git.zedobject.local/AcuPedia/acupedia-mobile-ui/pulls/122
Reviewed-by: Amit Salunke <amit@noreply.localhost>
2026-11-12 04:36:19 +00:00
Urvish Prajapati 947ca339e5 fix(auth): enforce strict national phone length and prevent country code combining in mobile app 2026-11-11 15:19:13 +05:30
ShivaniKhaire 52fc209274 feat(auth): sort country selection alphabetically in registration and profile (issue #110)
- Export SORTED_COUNTRY_CODES sorted by country name in constants/countries.ts
- Use SORTED_COUNTRY_CODES in SignUpForm to sort countries alphabetically in the Select Country modal
- Sort COMMON_COUNTRIES in EditProfileForm alphabetically for consistent UX
2026-11-07 17:18:00 +05:30
Urvish Prajapati 829fa5b5cb fix(auth): standardize RFC email validation across mobile auth screens 2026-11-05 15:21:09 +05:30
Urvish Prajapati b6a1e007bf Fixed conflics 2026-10-30 10:58:16 +05:30
Urvish Prajapati 75b08672d6 fix(profile-issue-88): auto-update country code on country change and disallow hyphens in phone number 2026-10-29 14:06:44 +05:30
Urvish Prajapati c05acc9c33 bug(issue-82):fixed country wise mobile number length issue 2026-10-29 13:11:26 +05:30
Urvish Prajapati c761853965 issue(44): added country code option before phone number 2026-10-26 13:31:18 +05:30
Amit Salunke 812179a017 Initial update 2026-09-06 21:05:15 +05:30