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

:telephone_receiver: Highly customizable phone input component with auto formatting

Results 216 react-phone-input-2 issues
Sort by recently updated
recently updated
newest added

You can't enter enough digits for Vietnam to satisfy the expected format. This means I cannot enter a valid Vietnamese phone number. Try it here: https://bl00mber.github.io/react-phone-input-2.html The expected format is:...

Was impossible to select a country if input was used within shadow dom * Added demo for Shadow DOM * Added webpack config to support styles injection in Shadow DOM

**what changed?** This change adds a new prop to allow the country code to appear as a discreet field next to the flag dropdown button. This would solve Issue #518...

![Screen Shot 2022-04-12 at 17 50 13](https://user-images.githubusercontent.com/16238132/162932941-3c4a537b-d01c-4c87-a6c8-2836ec222c6c.png) Type '+1 (204)', The country flag becomes Canada (it's correct). But the country object which callback from onChange() is 'us' (incorrect). **{name: 'United...

So I am struggling a bit with the field properties after I completed the custom CSS. Firstly, Is there a way to set a default value as phone number, I...

Please run the example app and check the browser console. Expected result: `enter` Actual result: `enter` and `blur` App.tsx: ```ts import React from 'react'; import PhoneInput from 'react-phone-input-2'; import 'react-phone-input-2/lib/style.css';...

请把台湾的国旗改成中国