I noticed this had been an issue in a previous version but I have the latest (7.x-3.0-rc1) and the states/provinces will not update when the view is a dropdown. Autocomplete doesn't have the problem--just dropdown. The droplist fails to update when the country is changed.

Before it looks like the culprit was in the _location_country_ajax_callback function in the location.module file but I checked mine against the patch from a year ago and it rc1 already has that patch in place.

Any ideas?


Same problem here...

I guess there are many users experiencing this same problem, since I found two more issues regarding this: http://drupal.org/node/1419448 and http://drupal.org/node/1430294. Both are quite old (2012) but still not solved.

Anyone could help, please?


Right now I have the same problem when I use Country/Province location field (with dropdown display) on a profile2 entity type.

So on custom node type :

  • Dropdown view : ok
  • Autocomplete view : ok

On a profile2 (entity type) :

  • Dropdown view : not ok - the province list does not update on country change
  • Autocomplete view : ok

Version:7.x-3.0-rc1» 7.x-3.0-rc4

I'm running into the same issue with the latest version of Location (7.x-3.0-rc4). I also have profile2 installed, however, I'm running into this problem with the state/province list not updating on the normal user profile form (enabled in Configuration -> Account Settings -> Location Settings). The auto-complete field updates as it should.

Any idea how to fix this? Patches or workarounds?

Version:7.x-3.0-rc4» 7.x-3.0-rc5

Still an issue in RC5.

same problem as in #3
dropdown does not work the province list,
autocomplete ok.

Node Type
dropdown ok,
autocomplete ok.

tested, 7.x-3.x-dev and 7.x-3.1 both are not working

I had the same problem in my local installation. Didn't have the time to support a patch yet. Here is the solution if you want to duplicate it:

#7 did you solve it? How could you solve it for your case?

On custom entities dropdown not updating too