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!
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
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
Hi Abir,
Thanks. I’ve been able to replicate this issue and I’ve logged this issue. You can find it here.