Skip to content

How to pass an input ref to rac's TextField? #4792

Answered by devongovett
rostero1 asked this question in Q&A
Discussion options

You must be logged in to vote

Yeah I think the right way is to pass a ref directly to the Input element. You could do that using forwardRef, or by adding an inputRef prop to your component for example.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by rostero1
Comment options

You must be logged in to vote
2 replies
@devongovett
Comment options

@rostero1
Comment options

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