Commit Graph

5 Commits

Author SHA1 Message Date
Amit Salunke c08080753e Merge pull request 'Issue 8 : fix country-wise phone number validation and 10-digit limit for India (#8)' (#17) from fix/issue-8-phone-number-validation into main
Reviewed-on: https://10.10.0.4/AcuPedia/acupedia-store-ui/pulls/17
2026-10-06 12:19:26 +00:00
ShivaniKhaire f3d13722e3 fix(auth): enforce password special character validation and disallow whitespace as special character 2026-10-05 17:26:54 +05:30
ShivaniKhaire b476492bd8 refactor(auth): make country and phone code configuration generic across store
- Render country selection options dynamically from COUNTRY_CODES in AuthModal and ProfileDrawer
- Synchronize dial code, country, and currency generically using getCountryRuleByName and getCountryRuleByDialCode
- Eliminate hardcoded country options and country-specific checks in favor of registry-driven rules
2026-10-05 13:56:41 +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
Urvish Prajapati 90bc14d37e feat: initial commit for standalone acupedia storefront 2026-09-10 12:56:24 +05:30