In simple_form.rb how do I set time_zone_priority and country_priority. The following does not work.
config.time_zone_priority = ["IN", "US", "CA", "UK"]
config.country_priority = ['India', 'United States']
In the view file, however, the following works:
= f.country_select :country_code, priority: %w(IN US CA UK)
Please assist
I had this problem too just now. Then, in the initializer, when I tried the country codes instead of the full country names, it worked.
config.country_priority = ['IN', 'US', 'CA', 'UK']