arvindvyas / Country-State-Select

It will fetch the countries and according to that fetch the state of that countries, currently it is for countries listing
MIT License
69 stars 78 forks source link

Feature for priority_countries, priority_states, priority_cities #66

Open y0608 opened 1 month ago

y0608 commented 1 month ago

Just like in country_select gem, where we can specify:

country_select("user", "country", priority_countries: ["GB", "FR", "DE"])

And those 3 countries will appear on top of the dropdown list.