lowcoder icon indicating copy to clipboard operation
lowcoder copied to clipboard

[Bug]: On a Module inside List Component, Newly added code gets removed from "Run Javascript" Action after page refresh

Open adnanqaops opened this issue 1 year ago • 2 comments
trafficstars

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

This is a very strange behaviour where I have a List component inside my App. In that List component, I added a Module in it. In the Event Handler, I added some JS code and that got saved. I added some more code in it, and refreshed the page, but the newly added code got removed and didn't save.

Expected Behavior

JS code should not get removed from the Module Event Handler.

Steps to reproduce

App in which I added the code : https://app.lowcoder.cloud/apps/66d1be800390b00771b3b946/edit Module : https://app.lowcoder.cloud/apps/66d0ac6d0390b00771b3afe8/edit

Environment

Production

Additional Information

No response

adnanqaops avatar Aug 30 '24 13:08 adnanqaops

It depends on multiple factors. Time and API Calls can be one factor. Did you publish the app - and then the code disappeared - or did you just refreshed the page?

FalkWolsky avatar Sep 07 '24 09:09 FalkWolsky

It didn't depend upon the "Publishing" of the App. The code disappeared after page refresh with or without "Publishing" the app.

adnanqaops avatar Sep 08 '24 07:09 adnanqaops