Skip to content
Source
Sign inSign up
TanStack/form

[v2] Typed form context #2314

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

V2 adds helper types for configuring props, but there's cases that cannot be covered by props properly (TanStack Table, TanStack Router).

For those, there should be a typed way to access form context from form.AppForm. It would be as straightforward as useFormContextWithOptions(formOptions) (not with that name).

  1. LeCarbonator(GitHub profile, opens in a new tab) added labelstype: enhancement

  2. LeCarbonator(GitHub profile, opens in a new tab) added labelsarea: runtime

  3. LeCarbonator(GitHub profile, opens in a new tab) added labelsarea: types

Sign in to join this conversation.