City does not change after changing the province

Created on 7 December 2012, over 12 years ago
Updated 18 May 2025, 20 days ago

I caught this bug when use China Address Field as a field in a user profile (provide by Profile2 module).

In the address config page, everything works fine, after you change the province, the city changes too.
But in a profile page, city elements are not change.

I looked into the code and made a patch for it in case someone else run into a same situation, please take a review about this patch and see if nesscery to implement it to your module.

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024