react-phone-input-2 icon indicating copy to clipboard operation
react-phone-input-2 copied to clipboard

Add masks for Puerto Rico and Dominican Republic

Open florensvb opened this issue 2 years ago • 1 comments

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

florensvb avatar May 02 '22 21:05 florensvb

@bl00mber Hi Nick, I was wondering if you've had a chance to 👀 this change?

florensvb avatar May 12 '22 20:05 florensvb

Closing due to inactivity on the maintainer's side.

florensvb avatar Apr 24 '23 16:04 florensvb