Comments (6)
@auzroz you are right about this. The ISO spec uses uppercase and so should this gem. This would be a breaking change for anyone who currently has lowercase values persisted in a database so it'll probably take adding option to the view helper to allow uppercase support. Does that sound reasonable to you? In the next major release I think we're moving to iso codes on by default and it sounds like uppercase should be on by default as well.
from country_select.
@scudco
from country_select.
As a non-breaking option, I think so.
I was thinking closer integration with https://github.com/hexorx/countries would provide options for greater flexibility with the generated control. I.E. My use case is for phone number country code selection, so including the international prefix in the display value would be beneficial to my users. May be to tangential for this project, but just an idea.
from country_select.
@auzroz integrating with the countries gem may be good idea, typically I try to restrict the number of dependencies, but in this case I believe it is a clear win.
from country_select.
fixed by: 4948b6e
I am still interested in integrating with the countries gem, if someone has some time a PR would be welcomed.
from country_select.
Completed a basic integration (COUNTRIES list is generated by the countries gem). Pull Request - #33
from country_select.
Related Issues (20)
- [ERROR] wrong number of arguments (given 1, expected 0) HOT 4
- CSS not applied to country select HOT 5
- upgrade countries gem to 3.0 HOT 1
- Wales is not a country? HOT 1
- United kingdom is not listing in the dropdown for Sweden, locale is sv
- How to instruct country select gem to attach only on specific attributes, not each one that consist country? HOT 2
- NoMethodError Error HOT 1
- CI: Matrix updates needed HOT 5
- Gemfile.lock & c: update to 5.0.0 HOT 1
- Feature request: Allow user-configured defaults for "except:" option
- Upgrade countries to v4 HOT 1
- Releases and README versions out of date HOT 1
- Move this repo to countries org? HOT 6
- Show subset of countries in custom order HOT 3
- Detach this fork from rails/country_select HOT 4
- Sensitiveness HOT 1
- Failure to render in last release HOT 9
- Require country_select_without_sort_alphabetical fails HOT 2
- Duplicate countries for Zulu HOT 1
- Duplicate countries for Zulu HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from country_select.