TanStackForm
Framework
StartRouter
Data & State
QueryDBStoreAI
UI
TableChartsFormMarkdownHighlight
UX
VirtualPacerHotkeys
Tooling
DevtoolsConfigCLIIntent
Blog
Blog & Release Notes
About
YouTubeThe official TanStack channel.WorkshopsLive sessions from the maintainers.Release NotesThe latest releases and changelog.
Channels
DiscordReal-time community support.GitHubSource, issues, discussions, and releases.
People & Work
MaintainersMeet the people maintaining the stack.ShowcaseProjects selected by the TanStack team.Community projects
TanChatNEW
Tools
Application StarterAlphaGenerate TanStack app starters.StatsNPM and ecosystem usage data.
Merch
Support
Support OverviewFind the right support path.PartnersCompanies supporting TanStack.OSS SponsorsSponsors keeping TanStack open source.Enterprise SupportPrivate consulting and expert support.ContactGet in touch with the TanStack team.
About
EthosHow we approach open source.TenetsThe values that shape TanStack libraries.Design SystemLogos, tokens, and UI components.
Partners

Sponsorships, placements, and partner pages.

Work with
TanStack
Partnership Inquiry
Sign In
Form Docs
  • Home
  • Get Started
  • Guides
  • API
  • Examples
API Reference
  • JavaScript Reference
  • Classes / FieldApi
  • Classes / FormApi
  • Functions / formOptions
  • Functions / mergeForm
  • Interfaces / FieldApiOptions
  • Interfaces / FieldOptions
  • Interfaces / FieldValidators
  • Interfaces / FormOptions
  • Interfaces / FormValidators
  • Types / DeepKeys
  • Types / DeepValue
  • Types / AnyFieldMeta
  • Types / BaseFormState
  • Types / DerivedFormState
  • Types / Updater
  • Types / UpdaterFn
  • Types / ValidationError
  • Types / ValidationMeta
  • React Reference
  • Variables / Field
  • Functions / useField
  • Functions / useForm
  • Types / FieldComponent
  • Types / UseField
HomeGet StartedGuidesAPIExamples
API Reference
  • JavaScript Reference
  • Classes / FieldApi
  • Classes / FormApi
  • Functions / formOptions
  • Functions / mergeForm
  • Interfaces / FieldApiOptions
  • Interfaces / FieldOptions
  • Interfaces / FieldValidators
  • Interfaces / FormOptions
  • Interfaces / FormValidators
  • Types / DeepKeys
  • Types / DeepValue
  • Types / AnyFieldMeta
  • Types / BaseFormState
  • Types / DerivedFormState
  • Types / Updater
  • Types / UpdaterFn
  • Types / ValidationError
  • Types / ValidationMeta
  • React Reference
  • Variables / Field
  • Functions / useField
  • Functions / useForm
  • Types / FieldComponent
  • Types / UseField
AI/LLM: This documentation page is available in plain markdown format at/form/latest/docs/reference/type-aliases/FieldsMap.md

FieldsMap

ts
type FieldsMap<TFormData, TFieldGroupData> = TFieldGroupData extends any[] ? never : string extends keyof TFieldGroupData ? never : { [K in keyof TFieldGroupData]: DeepKeysOfType<TFormData, TFieldGroupData[K]> };

Defined in: packages/form-core/src/util-types.ts:203

Maps the deep keys of TFormData to the shallow keys of TFieldGroupData. Since using template strings as keys is impractical, it relies on shallow keys only.

Type Parameters#

TFormData#

TFormData

TFieldGroupData#

TFieldGroupData

Edit on GitHub
NextJavaScript Reference

On this page

  • Type Parameters
  • TFormData
  • TFieldGroupData
PartnersBecome a Partner
Gold
CodeRabbitCodeRabbit
RailwayRailway
CloudflareCloudflare
NetlifyNetlify
RenderRender
VercelVercel
LovableLovable
Silver
SerpApiSerpApi
AG GridAG Grid
WorkOSWorkOS
ClerkClerk
OpenRouterOpenRouter
Bronze
PrismaPrisma
Scarf
SentrySentry
UnkeyUnkey
Latest Posts

The open source application stack for the web.

Libraries

  • Browse all
  • Query
  • Router
  • Start
  • Table
  • Form

Blog

  • Latest posts
  • Release notes
  • YouTube
  • Workshops

Community

  • Discord
  • GitHub
  • Maintainers
  • Showcase
  • Community projects

Tools

  • Builder
  • Stats

Merch

  • Shop
  • Cart

Support

  • Support overview
  • Partners
  • OSS sponsors
  • Enterprise support
  • Contact
  • Ethos
  • Tenets
  • Design system

© 2026 TanStack LLC

  • Privacy
  • Terms