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

Some countries always at top of the list in o-phone-input #1222

Open
julio-lagos-imatia opened this issue May 16, 2023 · 0 comments
Open

Some countries always at top of the list in o-phone-input #1222

julio-lagos-imatia opened this issue May 16, 2023 · 0 comments

Comments

@julio-lagos-imatia
Copy link

julio-lagos-imatia commented May 16, 2023

Description

The o-phone-input gives you by default a list of countries of the world. In theory you can specify a limited list of countries to display with the attribute countries.

It would be cool to keep the full list of countries and displaying some countries at the top of the list.

Describe the solution you'd like

Have another input that allows you to display some countries at first even though they shouldn't be there alfabetically (maybe an input called fixedCountries, countriesAtTop, or something like that, i'm not good with namings) image

P.S: The flags are cool too
P.S: Typing in the box to find a country could be also a thing

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

No branches or pull requests

2 participants