Home>Support>Select field inside repeater state emitter not firing on load

Select field inside repeater state emitter not firing on load

Hey again!

I’ve also found an issue where a state emitter placed on a select field, which is inside a nested repeater, isn’t firing on initial load. The state handler will pick up the change, but only if you select another option before going to the one that was saved originally. Looks to be a bug.

Thanks!

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 7 years, 6 months ago Alex S
    Hi, I Work Here

    Hi Abir,

    I can’t seem to replicate this with your previously provided widget files. Hm, maybe it’s due to different widget settings. Would it be possible for you to send me an export for this widget? To do this open up the page with the widget and click layout in the Page Builder toolbar. Then click import/export and then click download. Please upload the export to a 3rd party file hosting site such as teknik.io.

    Oh, and I would recommend changing enqueue_scripts() to enqueue_admin_scripts() to

  2. 7 years, 6 months ago abir

    Hey Alex,

    Terrible sorry I missed your reply on this thread. The widget version I gave you only had the settings for a radio to illustrate the issue I had on the previous thread. I’ve uncommented the emitters and swapped it from radio to select for you on the widget I’ve attached for you below.

    Please let me know if you require anything else

    https://u.teknik.io/K1U9u.zip

  3. 7 years, 6 months ago Alex S
    Hi, I Work Here

    Hi Abir,

    Thanks. I’ve been able to replicate this issue and I’ve logged this issue. You can find it here.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More