• 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 to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘JS error after selecting dropdown’ is closed to new replies.