SetValue does not work from Dynamic event

Wappler Version : 4.0.1
Operating System : Windows 10 pro
Server Model: PHP
Database Type: MySQL
Hosting Type:

Expected behavior

You should have a UI to set values (also affects cookies from what I’ve seen)

Actual behavior

You get a blank UI and the value is set to undefined.

How to reproduce

  • Create a variable
  • create a button and assign it a dynamic event.
  • try to set the value of the variable

Have you tried restarting Wappler and trying again? I’m using the final beta version, and Set Value seems to work.

I’ve also come across missing options to set values (but I think that’s always been a ‘feature’ to some extent).

Hi Tom @TomD,
Yes, I’ve tried restarting Wappler multiple times (it actually crashes every time windows goes into sleep mode, and therefore have restarted it more times than I care to count), to no avail.
I never used the betas, I moved to 4 and then 4.0.1. This worked fine under the last 3.9.9 stable version and the undefined var can be corrected on code view (by replacing the word undefined by a value of choice), and the fact it happens on my two machines makes me think it’s a bug.
Thanks for the follow-up, it was an interesting thought.

I’ve had enough of these scenarios in the past that I just hand type or copy/paste those kinds of statements now… it feels so much more liberating and productive!