nus-cs2103-AY2324S2 / pe-dev-response

0 stars 0 forks source link

The PHONE_NUMBER parameter does not support country codes #1285

Open nus-se-script opened 5 months ago

nus-se-script commented 5 months ago

The app is unable to support the use of country codes for when a user's contact has an overseas phone number.

Steps to reproduce: When using either the add or edit commands, begin the PHONE_NUMBER parameter with a + to denote a phone number with a country code.

Expected behavior: Adds/edits the contact with the phone number specified (inclusive of its country code).

Actual behavior: An error message describing the input as invalid: Phone numbers should only contain numbers, and it should be at least 3 digits long

Screenshots:

image.png


[original: nus-cs2103-AY2324S2/pe-interim#1633] [original labels: severity.Low type.FeatureFlaw]

yapxuanxuan commented 5 months ago

Team's Response

Good to have in future versions.

Duplicate status (if any):

--