Expose useFormContext #600
Unanswered
UrbanChrisy
asked this question in
Ideas
Replies: 2 comments
-
Usage in form/packages/react-form/src/useField.tsx Line 68 in eb4801c |
Beta Was this translation helpful? Give feedback.
0 replies
-
PR made: #601 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to build build a mutli-stage form, but currently at the moment I need to pass the formApi object from the
useForm
hook down to all my components or create a a provider myself. When then is duplicating the work.Would be good if the api
useFormContext
is exposed for us to use, considering its already being used in useField. I think it would be a one or two line change, just exporting the file.Beta Was this translation helpful? Give feedback.
All reactions