Commit Graph

14 Commits

Author SHA1 Message Date
Urvish Prajapati 38d5149114 Merge branch 'main' into fix/issue-84-country-code-search 2026-11-19 14:36:08 +05:30
ShivaniKhaire 41e885a7c9 fix(billing): sync billing country with phone country and allow entering valid phone per country
- Synchronize Billing Country and Phone dial code in BillingPhoneModal and ProfileDrawer
- Reset phone and clear errors upon country change so user can enter a valid number per country rules
- Display Billing Country in CartDrawer's Billing Profile prefill summary
- Prioritize country-based rules over dial code in validation to support shared dial codes accurately
2026-11-17 13:41:17 +05:30
Urvish Prajapati 1dd80f23ba fix(validation): prioritize length errors over prefix errors in phone validation 2026-11-16 16:30:37 +05:30
Urvish Prajapati 841f9a86a5 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:26 +05:30
Urvish Prajapati 2513c85411 fix(auth): enforce strict national phone length and prevent country code combining 2026-11-11 13:21:45 +05:30
Urvish Prajapati a1c127e684 Merge branch 'main' into fix/standardized-phone-validation-and-billing 2026-11-06 11:50:39 +05:30
Urvish Prajapati 2445fefcfe fix(auth): enforce RFC-compliant email validation across login, registration and password recovery 2026-11-05 15:14:54 +05:30
Urvish Prajapati 79cb96ae5e fix(store): enforce Indian mobile prefix and ensure exact razorpay contact prefill 2026-11-05 12:54:58 +05:30
Urvish Prajapati a0c5a2d6fc fix(store): standardize phone number input, validation, and billing modal 2026-11-05 12:42:33 +05:30
Urvish Prajapati b65249e075 fix(profile): sync country dial code and prevent hyphens in phone numbers 2026-10-29 14:10:04 +05:30
Urvish Prajapati 57cf92f4a6 fix(validation): standardize phone validation to 7-15 digits 2026-10-26 16:14:21 +05:30
Urvish Prajapati eba0870e7f issue(49): enforce strict mobile number validation and sanitization across storefront 2026-10-20 12:01:41 +05:30
Urvish Prajapati 7e19e51708 issue(31):Password validation fixed 2026-10-19 14:18:48 +05:30
ShivaniKhaire 917dd258d2 fix(auth): enforce country-wise phone number validation and 10-digit limit for India (#8)
- Enforce exact 10-digit mobile number requirement and input length restriction for India
- Add country-wise phone length rules, placeholders, and helper hints in AuthModal
- Synchronize dial code and country selection bidirectionally during registration
- Validate phone numbers against selected country rules during registration, profile update, and checkout
- Sanitize phone input in real time to filter out non-numeric characters
2026-10-05 13:17:01 +05:30