Releases: TanStack/form
@tanstack/[email protected]
Patch Changes
-
fix: flatten errors consistently when validating before field mount (#2003)
Fixed an issue where
field.errorswas incorrectly nested as[[error]]instead of[error]whenform.validate()was called manually before a field was mounted. Theflat(1)operation is now applied by default unlessdisableErrorFlatis explicitly set to true, ensuring consistent error structure regardless of when validation occurs. -
Updated dependencies [
41faffe,7f2453b]:- @tanstack/[email protected]
@tanstack/[email protected]
Patch Changes
- Updated dependencies [
41faffe,7f2453b]:- @tanstack/[email protected]
@tanstack/[email protected]
Patch Changes
-
fix: flatten errors consistently when validating before field mount (#2003)
Fixed an issue where
field.errorswas incorrectly nested as[[error]]instead of[error]whenform.validate()was called manually before a field was mounted. Theflat(1)operation is now applied by default unlessdisableErrorFlatis explicitly set to true, ensuring consistent error structure regardless of when validation occurs. -
Updated dependencies [
41faffe,7f2453b]:- @tanstack/[email protected]
@tanstack/[email protected]
Patch Changes
- Updated dependencies []:
- @tanstack/[email protected]
@tanstack/[email protected]
Minor Changes
- add
useTypedAppFormContext(#1826)
Patch Changes
-
fix: flatten errors consistently when validating before field mount (#2003)
Fixed an issue where
field.errorswas incorrectly nested as[[error]]instead of[error]whenform.validate()was called manually before a field was mounted. Theflat(1)operation is now applied by default unlessdisableErrorFlatis explicitly set to true, ensuring consistent error structure regardless of when validation occurs. -
Updated dependencies [
41faffe,7f2453b]:- @tanstack/[email protected]
@tanstack/[email protected]
Patch Changes
- Updated dependencies [
41faffe,a7eda7a]:- @tanstack/[email protected]
@tanstack/[email protected]
Patch Changes
- Updated dependencies [
41faffe,a7eda7a]:- @tanstack/[email protected]
@tanstack/[email protected]
Patch Changes
- Updated dependencies [
41faffe,a7eda7a]:- @tanstack/[email protected]
@tanstack/[email protected]
Patch Changes
- Updated dependencies []:
- @tanstack/[email protected]
@tanstack/[email protected]
Patch Changes
- Updated dependencies [
41faffe,7f2453b]:- @tanstack/[email protected]