Title: JS error after selecting dropdown
Last modified: February 3, 2023

---

# JS error after selecting dropdown

 *  [Michel Schonhage](https://wordpress.org/support/users/jun-e-jay/)
 * (@jun-e-jay)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/js-error-after-selecting-dropdown/)
 * Hi, after selecting a different country in the first dropdown, the second dropdown
   doesnt show the correct items. We used conditional fields/groups for this, but
   we can an error very time we change the first dropdown, see below.
   Can you help?
 * Uncaught TypeError: Invalid attempt to spread non-iterable instance.
   In order
   to be iterable, non-array objects must have a [Symbol.iterator]() method.at _nonIterableSpread(
   nonIterableSpread.js:2:9) at \_toConsumableArray (toConsumableArray.js:10:95)
   at Wpcf7cfForm.form.updateSimpleDom (scripts\_es6.js:111:31) at scripts\_es6.
   js:426:18 \_nonIterableSpread @ nonIterableSpread.js:2 \_toConsumableArray @ 
   toConsumableArray.js:10 Wpcf7cfForm.form.updateSimpleDom @ scripts\_es6.js:111(
   anonymous) @ scripts\_es6.js:426 setTimeout (async) (anonymous) @ scripts\_es6.
   js:424 dispatch @ jquery.js:4670 r.handle @ jquery.js:4338 handleMouseUp_ @ unknown
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjs-error-after-selecting-dropdown%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/js-error-after-selecting-dropdown/#post-16439029)
 * What other plugins and theme do you use on the site?
 *  Thread Starter [Michel Schonhage](https://wordpress.org/support/users/jun-e-jay/)
 * (@jun-e-jay)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/js-error-after-selecting-dropdown/#post-16443374)
 * Hi, custom theme and even with only CF7 and ACF plugins activate, we have the
   issue 🙁
   Can I send you staging credentials so you can take a looK?
 *  [hohotho](https://wordpress.org/support/users/hohotho/)
 * (@hohotho)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/js-error-after-selecting-dropdown/#post-16847901)
 * same issue for me. tried using JQuery Updator plugin but still not work.

Viewing 3 replies - 1 through 3 (of 3 total)

 The topic ‘JS error after selecting dropdown’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [hohotho](https://wordpress.org/support/users/hohotho/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/js-error-after-selecting-dropdown/#post-16847901)
 * Status: not resolved