Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Dependencies two ways

$
0
0

@nickle wrote:

Hi. I have the following ‘problem’, that I’ve simplified to this.

If I have two values, one for x, one for x^2.

If x is updated, I can, in the call back, have x^2 as the output. So far very simple.

Now I would like a call back when the x^2 is changed, such that I can calculate the square root of x^2, and place it in the x value.

ie. The fields work both ways. [The actually problem is a more complex calculation].

How do I do this?

Does it prevent a continuous cascade of updates?

Thanks.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6271

Trending Articles