Wappler Version : 2.4.3
Operating System : Mac OSX Mojave v10.14.5
I have a variable on my page var1 whose value is set by five buttons. As I click on each button, the variable gets values 1, 2, 3, 4, 5 and gets nicely displayed in the paragraph.
Now, as you can see in the below screenshot, I also have a dynamic event on the variable, so every-time I click any of the buttons and value changes, I should also get an alert on my browser.
This event is not triggering and seems to be broken. I’m not sure if I’m doing anything wrong here, but looks like a bug to me.
Hi @patrick, unfortunately, with the updated app connect js you provided, on-update event is getting triggered only once when the variable is first time initialised, further updates to the variable’s value doesn’t trigger the on-update event.
Meanwhile, I’m struggling to use the workaround method of updating a hidden input field (from my javascript) to in-turn update a variable with a JSON value (instead of a single text value), I added the details in my previous reply (above). Please help me out with this, irrespective of this on-update bug getting fixed.
@Akayy
Could you please post different questions in separate topics. Mixing different topics in a same thread makes it difficult for us to track what the issue/question is.