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

Use react-phone-number-input in search box #18

Open
zsoltime opened this issue Nov 3, 2019 · 0 comments
Open

Use react-phone-number-input in search box #18

zsoltime opened this issue Nov 3, 2019 · 0 comments

Comments

@zsoltime
Copy link
Member

zsoltime commented Nov 3, 2019

We should add react-phone-number-input to our search box so we could handle countries more easily. It converts the phone number to the E.164 format, so we could save it to our database correctly.

We should also find out how the lookup route would look like. I thought about using the country's calling code, such as +44, or alpha 2 code (GB). It could be either look like /lookup/44/0123456789 or /lookup/gb/0123456789.

It would be also great to populate the country dropdown with the user's country by default.

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

No branches or pull requests

1 participant