appsmithorg / appsmith

Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
https://www.appsmith.com
Apache License 2.0
33.95k stars 3.66k forks source link

[Bug]: Function content is not reactive hence we see a cyclic dependency error when certain conditions are met #17225

Closed ramsaptami closed 1 year ago

ramsaptami commented 2 years ago

Is there an existing issue for this?

Description

Function content is not reactive and hence when certain conditions are met, we see a cyclic dependency error as seen in the video attached. Refreshing the page reads the correct function content but causes bad UX to not update code as and when user makes amends

Steps To Reproduce

  1. Create a function with Text1.text as seen in the video
  2. Change the content showAlert("monday")
  3. Bind this function to a text widget named Text1 and observe the cyclic dependency error as seen in the video attached

https://www.loom.com/share/21574546376641eaa9ffc11047084ae9

Public Sample App

No response

Version

Cloud

bharath31 commented 1 year ago

no longer reproducible