Wappler Version : 6.0.0 beta 2
Operating System : mac
Server Model: mobile app
Database Type:
Hosting Type:
Expected behavior
dmx-on:changed should only run once
Actual behavior
It runs twice, and in this case, causes undesired results.
How to reproduce
<select id="inp_recipe_servings" class="select-css bg-white " name="servings_block" dmx-bind:value="current_servings.value ? current_servings.value : recipe.data.basics.servings" style="box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.04), 0px 2px 6px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04); border: none; width: 135px; height: 40px" dmx-on:changed="run([{wait:{delay:250}},{runJS:{function:'update_view_servings'}}])">
<option value="1">1 serving</option>
<option value="2">2 servings</option>
...
</select>