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

Germany is incorrect

Open ad-si opened this issue 3 years ago • 0 comments

The formatting of German numbers is basically locationPrefix number. However, the locationPrefix can be between 2 to 5 numbers. The bigger the city, the shorter the prefix. The locationPrefix can also be replaced through a carrierPrefix for mobile numbers, or a specialPrefix for special purpose numbers.

The way it's currently always grouping the first 4 digits, is actually worse than no formatting at all.

ad-si avatar Jun 23 '21 20:06 ad-si