Skip to content
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

Feat/inject list countries (#1) #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alfredo-handcash
Copy link

Hi! First of all thank you for your time creating this package!! This is awesome!

I created this PR to customize the list of country codes because there are some countries like Argentina that has a different codes for mobile and phones.

Thank you!

* make list const to use in constructor

* inject list of countryCodes
@Daniel-Ioannou Daniel-Ioannou self-requested a review May 17, 2021 06:22
Copy link
Owner

@Daniel-Ioannou Daniel-Ioannou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alfredo-handcash Thank you for the PR.
I not show what you try to implement on your PR, you add an new optional argument countryList at CountryListView but CountryListView is private in lib so there is no way to set the new argument outside of the lib. You have to add countryList argument in showCountryPicker and and pass it to CountryListView.

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants