react-phone-input-2
react-phone-input-2 copied to clipboard
Add masks for Puerto Rico and Dominican Republic
Currently, the validation for Puerto Rico and Dominican Republic fails with false negatives.
You can test by writing or pasting this valid phone number +1 (939) 327-4822
into the input field.
Ten-Digit-Dialing is mandatory for both Puerto Rico and the Dominican Republic.
This PR adds format '(...) ...-....',
to Puerto Rico and Dominican Republic in rawCountries
, which in turns solves the issue, which has been previously mentioned in #177
@bl00mber Hi Nick, I was wondering if you've had a chance to 👀 this change?
Closing due to inactivity on the maintainer's side.