Describe the bug
In v2, a field group cannot be composed inside another field group.
The parent only exposes fields, but the child requires a form prop. Passing form={fields} causes a TypeScript error. In v1, this worked with form={group}.
Your minimal, reproducible example
N/A - this is a question about the core
Steps to reproduce
- Create a child field group with
defineFieldGroup.
- Render it inside another field group.
- Pass the parent fields using
form={fields}.
- TypeScript reports incompatible types.
Expected behavior
Nested field groups should be composable
How often does this bug happen?
None
Screenshots or Videos
No response
Platform
N/A
TanStack Form adapter
None
TanStack Form version
v2.0.0-alpha.2
TypeScript version
No response
Additional context
No response
Describe the bug
In v2, a field group cannot be composed inside another field group.
The parent only exposes
fields, but the child requires aformprop. Passingform={fields}causes a TypeScript error. In v1, this worked withform={group}.Your minimal, reproducible example
N/A - this is a question about the core
Steps to reproduce
defineFieldGroup.form={fields}.Expected behavior
Nested field groups should be composable
How often does this bug happen?
None
Screenshots or Videos
No response
Platform
N/A
TanStack Form adapter
None
TanStack Form version
v2.0.0-alpha.2
TypeScript version
No response
Additional context
No response