Skip to content

onChange converts to controlled component? (Question) #1017

Answered by wadamek65
chiester asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @chiester ,

If you only need the fields value I think useField hook could help you with this. You can find the documentation for this here. This hook will give you access to all of the fields data and you won't need to pass a value and an onChange to it explicitly.

Replies: 1 comment 1 reply

Comment options

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

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

This discussion was converted from issue #1014 on September 08, 2021 08:18.