FieldContext
Type Alias
stablesince v22.0
Provides access to the state of the current field as well as functions that can be used to look
up state of other fields based on a FieldPath.
API
type FieldContext<TValue, TPathKind extends PathKind = PathKind.Root> = TPathKind extends PathKind.Item ? ItemFieldContext<TValue> : TPathKind extends PathKind.Child ? ChildFieldContext<TValue> : RootFieldContext<TValue>
Jump to details