-
Notifications
You must be signed in to change notification settings - Fork 451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to update internal phone number value when using a textComponent #144
Comments
<PhoneInput This works |
That's because you are not using the |
Hey, based on this line , some probs such as the change listener are passed to the component, so instead of using your own
|
I am having the same problem |
same issue. any one find an answer? |
Any updates on the issue? I even cannot get the value from the phone input using onChangePhoneNumber once I am using custom textComponent |
I had the same issue but then I figured out that I was using textComponent like that:
while I actually had to pass props:
|
I want to use the various methods such as
isValidNumber()
,getNumberType()
,getValue()
, getISOCode()` etc.When I use the
textComponent
prop to customise the UI, how do I pass the value from this custom TextInput into the PhoneInput's state to be used by those methods?The text was updated successfully, but these errors were encountered: