-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
isMobilePhone not valid number phone in VietNam #813
Comments
I test with regx
|
VietNam is change 11 number to 10 number phone. I think validator should update for new phone. |
@navata - PR welcome :) |
Good work on researching on this Ez! And welcome to the project.
As discussed at work today, please raise with the suggestions the PR and
we’ll review.
-na
On Sun, Dec 2, 2018 at 12:42 PM Ezrqn Kemboi ***@***.***> wrote:
I tested this issue has mentioned by @tanmynguyen
<https://github.com/tanmynguyen> and everything worked. Some of the
values used are 083, 032, 070, 059 with its 7 numbers that could not
change. Everything is ok. @navata <https://github.com/navata> I also
tested to make sure that 10 digits are allowed and not 11 digits and was ok.
My main issue is that, up to June 30, 2019, the 11 digits are still valid,
which in the validator.js this is not true. Maybe @profnandaa
<https://github.com/profnandaa> we can look into fixing this to make sure
that previous old digit of Vietnam is allowed till this day.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#813 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAP8keaxjNhF9rPHg2zy0blLrPwf5YLrks5u06CigaJpZM4TRC25>
.
--
Sent from a tiny device while on the move.
|
I was following up on this issue, and I have realized that the issue being raised does not occur. |
Hi @chriso .
I tried validator with number phone on VietNam with locate code
vi-VN
. But Number Mobile Phone changed on VietNam. With start number phone08
soisMobilePhone
not working with number phone"0868891902"
. You can help to check Regex of isMobilePhone.Example:
validator.isMobilePhone("0868891902", "vi-VN")
--> falsevalidator.isMobilePhone("01646545327", "vi-VN")
--> trueThanks You 👍
The text was updated successfully, but these errors were encountered: