I'm trying to create cost calculation using list view instance values. It seems showing the correct result. However it gives me this error dependency cycle found.
{{ listView2.instanceValues[i].costUnit * listView2.instanceValues[i].recipeQty}}
I'm trying to create cost calculation using list view instance values. It seems showing the correct result. However it gives me this error dependency cycle found.
{{ listView2.instanceValues[i].costUnit * listView2.instanceValues[i].recipeQty}}
Hello @adigunawan,
This issue could be related to your JavaScript calculation query or the default value set for the total cost.
Could you share more details, such as screenshots and the specific queries you’re using? This will help us better understand the problem and provide a more accurate solution.
Thank you!
Hey @adigunawan,
In a component that's within the listView you can refer directly to other components in the same instance, rather than referring to instanceValues.
As such, you can refer to e.g. numberInput1.value * currency1.value
Hope this helps!