Chore: Add validation for contact phone field (#2105)

This commit is contained in:
Nithin David Thomas
2021-04-16 18:48:13 +05:30
committed by GitHub
parent ce4ce3c86c
commit 98bfef026e
3 changed files with 31 additions and 8 deletions

View File

@@ -71,7 +71,9 @@
},
"PHONE_NUMBER": {
"PLACEHOLDER": "Enter the phone number of the contact",
"LABEL": "Phone Number"
"LABEL": "Phone Number",
"HELP": "Phone number should be of E.164 format eg: +1415555555 [+][country code][area code][local phone number]",
"ERROR": "Phone number should be either empty or of E.164 format"
},
"LOCATION": {
"PLACEHOLDER": "Enter the location of the contact",