Any ideas for this use case?
I'm dealing with a complex form with dropdowns, inputs, datepickers, etc.
Most of these inputs are rendered conditionally based on other previous selections, apart from that some dropdowns get data from APIs.
I need to split this big form in chunks and add some suspense wrappers.
How can I deal with this using tanstack form?
I've read a lot of the GitHub issues/discussions and got few ideas but nothing clear.
Passing down the form instance is not recommended by one of the tanstack form maintainers, so then what options do I have?
All the examples works fine if you have 2-5 inputs, but if you have conditional fields, or other complex cases you ended up with a big file +500 LOC like me.
Please, tanstack maintainers, any workaround for this?
I'm open to any suggestions. I'm implementing all the tanstack suite in prod for 2 new projects and I need to get a way to fix this by Monday if possible, if not probably I'll have to move to react-hook-form even when we like tanstack form due to this use-case we need to support. Thanks
Most of these inputs are rendered conditionally based on other previous selections, apart from that some dropdowns get data from APIs.
I need to split this big form in chunks and add some suspense wrappers.
How can I deal with this using tanstack form?
I've read a lot of the GitHub issues/discussions and got few ideas but nothing clear.
Passing down the form instance is not recommended by one of the tanstack form maintainers, so then what options do I have?
All the examples works fine if you have 2-5 inputs, but if you have conditional fields, or other complex cases you ended up with a big file +500 LOC like me.
Please, tanstack maintainers, any workaround for this?
I'm open to any suggestions. I'm implementing all the tanstack suite in prod for 2 new projects and I need to get a way to fix this by Monday if possible, if not probably I'll have to move to react-hook-form even when we like tanstack form due to this use-case we need to support. Thanks