Skip to content

react-aria RadioGroup with react-hook-form & zod validation: focus question #6049

Answered by snowystinger
Mrtly asked this question in Q&A
Discussion options

You must be logged in to vote

RadioGroup doesn't expose a focusable ref, we could consider doing that.
It looks like we don't expose the inputRef to the Radio ref either. So that could also be an option.

I think using useImperitiveHandle on the RadioGroup though makes the most sense since it's aware of the roving tab index already

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@steveoh
Comment options

@snowystinger
Comment options

@Mrtly
Comment options

@snowystinger
Comment options

Answer selected by Mrtly
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
enhancement New feature or request help wanted Extra attention is needed
3 participants