Skip to content

Using Slider as FormField #783

Closed Answered by olavocarvalho
olavocarvalho asked this question in Q&A
Discussion options

You must be logged in to vote

I figured out how to do that: just pass onValueChange={props.onChange} in the SliderPrimitive.Root component.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@hmongdev
Comment options

Answer selected by olavocarvalho
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants