• Resolved jneuerburg

    (@jneuerburg)


    Hi,

    after the Update to 2.2.5 I am getting a nonIterableSpread Error in the Console. Happend on two distinct Sites and is happening whenever I use any Version newer than 2.2.4. Error is the Following:

    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-1.11.1.min.js:3
    r.handle @ jquery-1.11.1.min.js:3

    This is how the Field is created in the Form:

    <div class="row">   
        <div class="col-md-12">
            <label for="print_ad">Print-Stellenanzeige</label>[checkbox print_ad id:print_ad use_label_element exclusive "ja" "nein"]
        </div>   
    </div>
    [group print_media_group]
    <div class="row">   
        <div class="col-md-12">
            <label for="print_media">Medien</label>[text* print_media id:print_media placeholder "Tageszeitung"]
        </div>   
    </div>
    [/group]

    And my Setup for the Condition is:
    show [print_media_group] if [print_ad] equals "ja"

    Hopefully you can help me out on this one. Otherwise, the plugin works perfectly.

    • This topic was modified 2 years, 6 months ago by jneuerburg.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘JS Error since Version 2.2.5’ is closed to new replies.