React-Native-INTL-Phone-Input icon indicating copy to clipboard operation
React-Native-INTL-Phone-Input copied to clipboard

Multiple number formats for Indonesia (+62)

Open brunoaduarte opened this issue 5 years ago • 2 comments

It seems there are 2 number formats in Indonesia (+62)

+62 XXX XXXX XXX +62 XXX XXXX XXXX

But on Countries.js the mask is fixed as mask: '9999-999-999' so only the first one works.

Is it possible to add multiple masks ?

brunoaduarte avatar Aug 20 '20 18:08 brunoaduarte

Hey @brunoaduarte, did you find a fix for this?

SirPhemmiey avatar Aug 31 '20 17:08 SirPhemmiey

Hey @brunoaduarte, did you find a fix for this?

No... i've changed Countries.js to +62 XXX XXXX XXXXX and disabled number verification. That's the only way out.

+62 XXX XXXX XXXXX One more

So there are 3 formats +62 XXX XXXX XXX +62 XXX XXXX XXXX +62 XXX XXXX XXXXX

brunoaduarte avatar Sep 19 '20 01:09 brunoaduarte