-
-
Notifications
You must be signed in to change notification settings - Fork 502
Open
Labels
Description
Describe the bug
When defining a group using withFieldGroup
, it would be helpful to get a list of all of the errors for the group.
As an example, I have an address group. I'd like to render a list of errors at the group level (as opposed to the individual field level:

However, the group store only contains values
. You can get the form-level errorMap
and sort of work backwards, but that's somewhat difficult. It would be really nice if the group store had an errorMap
or something similar.
Your minimal, reproducible example
https://bolt.new/~/sb1-ehaxlmcw
Steps to reproduce
Here is an example of the kind of form I mean.
Expected behavior
It should be possible to get the errors for a group.
How often does this bug happen?
None
Screenshots or Videos
No response
Platform
macOS/Chrome
TanStack Form adapter
None
TanStack Form version
1.15.1
TypeScript version
No response
Additional context
No response