-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
this.refs[myRef] gives only formsy functions, not custom input ones #389
Comments
I don't use refs often, so perhaps another user can help me understand the issue here, but here is our test for the innerRef feature if that helps: formsy-react/__tests__/Formsy-spec.tsx Lines 11 to 32 in 49fc634
|
Sorry, I had both ref and innerRef on my input and it didn't work. |
Can you branch off and write a failing test, similar to the one shown above? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Even if I have innerRef prop on my input I cannot call its functions from parent - is the innerRef meant as forwarded ref or how can I forward my ref on the input to call its methods from parent?
The text was updated successfully, but these errors were encountered: