Adjust slider based on text input (number)

Im trying to link the scroll bar and the input text box (number), this is what i have so far:

Screenshot 2020-06-12 at 17.35.06

I can get the initial states working but i cannot figure out how to keep them in sync.

What im doing:
I have set a state on the page.
Then on each the slider/input i have set a condition to change the state of the page to the slider/inputs current value.
How do i then get this state to update the slider/input of the slider/input im not currently adjusting?

(Price Adjust is the name of the page)
Screenshot 2020-06-12 at 17.46.56
Screenshot 2020-06-12 at 17.47.11


Screenshot 2020-06-12 at 17.48.36
Screenshot 2020-06-12 at 17.48.59
Screenshot 2020-06-12 at 17.49.13
Screenshot 2020-06-12 at 17.49.26

Thanks!

2 Likes

This topic was automatically closed after 70 days. New replies are no longer allowed.