TanStackT
TanStack7mo ago
14 replies
injured-turquoise

Cannot get the same form instance with the same type.

Hello all.

I set up the form the way it is described in the docs using createFormHook and createFormHookContexts. However my form is way to big. So on the go I decided to split into sections, asuming that I can get form from context.
so the structure is like that:

However when I try to get form instance on the section component level it is not typed the way it should be and this leads to inability to use it there due to linter and other errors.

Maybe someone faced similar issue and knows how to takle it?
image.png
image.png
image.png
image.png
image.png
image.png
Was this page helpful?