Dmx-on:changed not working for radio inputs (AC2)

We finally pushed appconnect 2 to production last night and found an annoying bug:

the dmx-on:changed isn’t triggering for radio input fields.

For example we have this code. This used to submit the form only when clicking on this radio button.
However this doesn’t trigger any event (I tested to just trigger a notification).

                <input data-form-type=" other" class="btn-check" type="radio" name="tax_behavior" value="inclusive" required="" id="inp_tax_behavior_inclusive" dmx-bind:checked="checkout_get_info.data.query_checkout.tax_behavior=='inclusive'" id="inp_tax_behavior_inclusive" dmx-on:changed="form_edit_product_settings.submit()" />

If I change it to dmx-on:updated it works but it also activates on page load which is not ideal… This is triggering notifications for the user like “you’ve changed this setting!” even though they just loaded the page.

Other dmx-onchanged events like on a seem to work fine.

Fixed in Wappler 6.4.2

This topic was automatically closed after 43 hours. New replies are no longer allowed.