According to this World Population Review, "Phone number length around the world ranges from 17 digits to only 4."
However, in your error message, you accept a range of 3-20 digits long as seen below.
Now I understand that this is a very minor bug but maybe you could implement a way that allows users to set a cap on the number of digits, just in case the user accidentally keys in a Singapore phone number with a lower or higher digit count such as 9876543 or 987654321 respectively. Cause in the event the user then goes back to see the contact/vendors phone number, its wrong and they have to scramble to find it again.
According to this World Population Review, "Phone number length around the world ranges from 17 digits to only 4."
However, in your error message, you accept a range of 3-20 digits long as seen below.
Now I understand that this is a very minor bug but maybe you could implement a way that allows users to set a cap on the number of digits, just in case the user accidentally keys in a Singapore phone number with a lower or higher digit count such as
9876543
or987654321
respectively. Cause in the event the user then goes back to see the contact/vendors phone number, its wrong and they have to scramble to find it again.[original: nus-cs2103-AY2425S1/pe-interim#302] [original labels: type.FeatureFlaw severity.VeryLow]