[Bug]: Sync function .data
shows up as empty object {}
in widgets #29978
Open
Description
Is there an existing issue for this?
- I have searched the existing issues
Description
When I bind .data
property of a sync function to a Text Widget, it show {}
inside the text. It should show the actual return value of the function.
Steps To Reproduce
- Create a JS Object
- Return
Math.random()
frommyFun1
inside the JS object and do not run the function. - Bind
JSObject1.myFun1.data
to a Text1 Widget. - Create another Text2 widget and bind
JsObject1.myFun1()
to the new Text2 widget. - Observe that Text2 will have the proper value of
myFun1
while Text1 will just show{}
. Also observe that even though the function was run because of the binding inside Text2, the value did not change in Text1.
Public Sample App
No response
Environment
Production
Issue video log
Version
Cloud