Open
Description
The use case is having a country selector and then based upon the country that is selected displaying a select
input field for the regions for that country. I am doing this for a client currently so this gist is hardcoded a bit for their needs (not options expansion for the field, etc.) but wouldn't take much to make this more generally usable.
I recognize that it would be hard to make this pattern cover ALL uses the different locale specific constants/objects, but if this approach I am taking would be generally useful for inclusion in this package, i would be happy to work on something for a proper PR.
https://gist.github.com/paltman/7551838
Any feedback/thoughts?