How do I get the onValueChange only when value was changed by the Slider itself? #1098
Answered
by
segunadebayo
juliomuhlbauer
asked this question in
Q&A
-
I have a range slider that is semi-controlled by two Number Inputs. |
Beta Was this translation helpful? Give feedback.
Answered by
segunadebayo
Dec 18, 2023
Replies: 1 comment
-
This can be implemented in userland code. Not something we want to add to Zag.js You might want to control both components' onValueChange and sync them to the same state values, them track the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
juliomuhlbauer
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This can be implemented in userland code. Not something we want to add to Zag.js
You might want to control both components' onValueChange and sync them to the same state values, them track the
onValueChange
for the slider.