Skip to content
Source
Sign inSign up
TanStack/form

withFieldGroup props used at runtime #2099

Closeddpeter99(GitHub profile, opens in a new tab) opened this issue 0 comments

Describe the bug

withFieldGroup's props values are used at runtime as a fallback even tho the docs explicitly say they are not used at runtime.

https://github.com/TanStack/form/blob/main/packages/react-form/src/createFormHook.tsx#L541

The props are clearly spread in the render.

Your minimal, reproducible example

Steps to reproduce

Expected behavior

Either update the docs or fix the behaviour.

How often does this bug happen?

Every time

Screenshots or Videos

No response

Platform

TanStack Form adapter

None

TanStack Form version

1.28.5

TypeScript version

5.9.3

Additional context

No response

Sign in to join this conversation.