Skip to content

Possible to retrieve the index along with data from handleSubmit(onSubmit)? #2078

Answered by bluebill1049
michaeljblum asked this question in Q&A
Discussion options

You must be logged in to vote
  1. I think you probably want to build a custom component with does provide index & value and then use Controller to collect value
  2. use custom register at useEffect and setValue at onChange

Replies: 1 comment 1 reply

Comment options

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

Answer selected by michaeljblum
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