react-phone-input-2
react-phone-input-2 copied to clipboard
:telephone_receiver: Highly customizable phone input component with auto formatting
I'm trying to make it so the user is shown the mask. I'm doing something similar by using this library [http://insin.github.io/react-maskedinput/](http://insin.github.io/react-maskedinput/). Is it possible to do this? OR can I...
I am performing a basic check to determine the validity of a phone number in my app: making sure that the number of digits entered by the user matches the...
{ if (key && key.keyCode === 13) { if (textAreaRef && textAreaRef.current) { textAreaRef.current.blur(); } } }} onFocus={() => setMode(true)} onChange={handleChange} onBlur={() => { setMode(false); handleBlur(); }} /> handleChange={e =>...
Hi, We have a form where we have a phone input and a country input. When we select a country, we update the phone input with the selected new country....
If I set disableDropdown to false, selected-flag shouldn't have role="button" and aria-haspopup="listbox". Even with tabindex="-1", screen reader announces it as a button.
**Steps to reproduce** 1. Select UK, type +44 1234 56 2. Put the cursor between the digits 2 and 3, type any digit **Expected behavior** Cursor should be put after...
I was having an issue with support for multiple phone number masks and find this https://github.com/bl00mber/react-phone-input-2/issues/156. but it seems like the case I have is different and want a help...
Some details is here: https://reactjs.org/docs/forwarding-refs.html#forwarding-refs-in-higher-order-components
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...
I would like to add an onPaste property to the PhoneInput field, but this does actually not work. We are receiving wrong phone numbers as users are copying phone numbers...