lowcoder icon indicating copy to clipboard operation
lowcoder copied to clipboard

No JS actions on page load

Open SaschaValentin opened this issue 3 months ago β€’ 3 comments

After updating Lowcoder to the latest version, a strange behavior is occurring: On a page, values ​​from the localStorage are supposed to be output to the fields of a form. This always worked perfectly, but unfortunately, since the update, it no longer works. The values ​​are displayed briefly in the fields, but then immediately disappear again. The corresponding entries are definitely present in the localStorage.

In addition, another JavaScript function that should actually be executed when the page starts (this also always worked before) is no longer executed. Since other JavaScript functions triggered by clicking a button execute without problems, I believe the problem has something to do with the page start (Event: After loading a page).

Is anyone else familiar with this type of behavior, and is there anything I can try to resolve it?

SaschaValentin avatar Oct 07 '25 14:10 SaschaValentin

Possibly related to this? #1889

ScottKemp avatar Oct 07 '25 19:10 ScottKemp

Hi @ScottKemp, probably not, because I use the latest version 2.7.5 and there your issue should be resolved.

SaschaValentin avatar Oct 08 '25 16:10 SaschaValentin

In addition to the former issue I have noticed, that also default values set in Lowcoder doesn't work when loading the site. I have some radio button groups were one of the buttons always is checked after loading the page. That worked fine until the update. Now none of them are selected.

SaschaValentin avatar Oct 10 '25 17:10 SaschaValentin