Import - Improve phone validation (#12901)
Context : - Phones import is a bit complex if not all subfields are provided. - Phones subfield validation are absent or different from BE validation. Solution : - Normalize callingCode and countryCode validation (BE/FE) - Ease phone import if only phoneNumber is provided
This commit is contained in:
@ -22,6 +22,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@sniptt/guards": "^0.2.0",
|
||||
"libphonenumber-js": "^1.10.26",
|
||||
"zod": "3.23.8"
|
||||
},
|
||||
"preconstruct": {
|
||||
|
||||
Reference in New Issue
Block a user