react-phone-input-2
react-phone-input-2 copied to clipboard
:telephone_receiver: Highly customizable phone input component with auto formatting
Hi I went through the docs but didn't find an easy way. Is there a way to do this? I would like to programmatically set country - when you click...
Below is the valid Argentine mobile number: +54 91123017883 That 9 after +54 is the prefix introduced in 2003 which isn't considered here. Reference: http://www.wtng.info/wtng-54-ar.html Based on other repo it...
I want to set country name and country code in the selected option. but I pass the country name and country code as a string (Sri Lanka +94 ) but...
[correct] autoFormat=false I can enter long phone number correctly: 111111111123456 [incorrect] autoFormat=true I can't enter long phone number correctly: 11111111112 Seems like max length of the input takes mask characters...
It's odd to format Trinidad and Tobago numbers like: +1868 123 456 7 Since its a 7-digits-number, the right ways to have it are: +1 (868) 123-4567 +1-868-123-4567 +1 868...
`npm install @types/react-phone-input-2` is causing this: ```npm ERR! code E404 npm ERR! 404 Not Found - GET https://registry.npmjs.org/@types%2freact-phone-input-2 - Not found npm ERR! 404 npm ERR! 404 '@types/react-phone-input-2@latest' is not...
How to configure webpack style loaders for .css files? background:(image/png;base64) is causing problems when loading.
Even if i set the countryCodeEditable to false, I can still change the country code when I type. This is my code. ` setIsInputFocused(true), onBlur: () => setIsInputFocused(false), name, onChange:...
Current Format -> ..-....-.... actually it should be in this .-....-....
Currently is I am only able to give defaultErrorMessage if isValid is a function can we also have it if isValid is Boolean. It seems logical that way. Thank you.