javascript icon indicating copy to clipboard operation
javascript copied to clipboard

Add phone validation

Open hyanmandian opened this issue 8 years ago • 5 comments

hyanmandian avatar Jun 19 '18 13:06 hyanmandian

would be with dialing code of the country and state? plus the digit 9?

examples: +55 11 9 1122-3344

emersonlaurentino avatar Sep 13 '18 15:09 emersonlaurentino

I think that for brazilian we just need to check the length, like this one https://github.com/brazilian-utils/brazilian-utils/tree/master/packages/is-valid-cep

hyanmandian avatar Sep 13 '18 17:09 hyanmandian

I did an implementation, I'll send a PR.

emersonlaurentino avatar Sep 13 '18 21:09 emersonlaurentino

@hyanmandian can u make a review in #27?

emersonlaurentino avatar Sep 17 '18 20:09 emersonlaurentino

Yes man! Sorry for the delay :( I think that @lucassveloso can check this and publish your package

hyanmandian avatar Sep 19 '18 05:09 hyanmandian