Variable & Array on:updated event

Wappler Version : 2.7.2
Operating System : Mac OSX Catalina v10.15.3

I have raised a related one in the past, replies to it is closed, so creating a separate bug report:

on-updated dynamic event of variable & array components are getting triggered during static value initialisation like in below example (not from server connect) which shouldn’t be the case.

on-updated event should ideally be triggered only when values are updated (after getting initial values).

<dmx-value id="var3" dmx-bind:value="&quot;var3&quot;" dmx-on:updated="browser1.alert(value)"></dmx-value>

<dmx-array id="arr3" dmx-bind:items="&quot;arr3&quot;" dmx-on:updated="browser1.alert(items)"></dmx-array>

I use variables extensively and I’m unable to handle the above shortcoming, as the event is triggered for numerous variables on page load, while I want them to be triggered only when updated.

Please fix this as it has been long due. Thank you!

This has been fixed in Wappler 2.8.4

1 Like

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