Worldwide location (country, region, city) select plugin for Rails, jQuery or Google Maps API?

后端 未结 2 1479
广开言路
广开言路 2021-02-08 19:04

Is there any plugin which will help to create a dropdown menus for countries, regions and cities? At first user chooses country, then he has his region dropdown menu updated acc

2条回答
  •  青春惊慌失措
    2021-02-08 19:35

    One gem is for countries and states is 'carmen'. It provides all countries and states for just over a dozen countries. I'd recommend using a text input for cities (many databases are incomplete).

提交回复
热议问题