I want to define a default country and cancel country selection #4
-
Hello, I want to set only one country as default and I don't want the user to change this country, how can I do that? I would be glad if you help. Thanks. |
Beta Was this translation helpful? Give feedback.
Answered by
AstrOOnauta
Aug 18, 2023
Replies: 1 comment 1 reply
-
Hey @ysnbyzli ! About your question, nice point!
OBS.: Referenced in this new point in the docs: 🚀AstrOOnauta 🚀 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
AstrOOnauta
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @ysnbyzli !
About your question, nice point!
The version 0.4.10 or earlier does not support this feature, but I released a next version with new feat to disable the country modal.
Please update the lib version to v0.4.11 and use the following code to resolve your issue:
OBS.: Referenced in this new point in the docs:
https://github.com/AstrOOnauta/react-native-international-phone-number#country-modal-disabled-mode
🚀AstrOOnauta 🚀