TanStackForm v0
Auto

FieldInfo

Type Alias: FieldInfo<TFormData, TFormValidator>

ts
type FieldInfo<TFormData, TFormValidator> = object;
type FieldInfo<TFormData, TFormValidator> = object;

Defined in: packages/form-core/src/FormApi.ts:206

An object representing the field information for a specific field within the form.

Type Parameters

TFormData

TFormValidator extends Validator<TFormData, unknown> | undefined = undefined

Type declaration

instance

ts
instance: 
  | FieldApi<TFormData, any, Validator<unknown, unknown> | undefined, TFormValidator>
  | null;
instance: 
  | FieldApi<TFormData, any, Validator<unknown, unknown> | undefined, TFormValidator>
  | null;

An instance of the FieldAPI.

validationMetaMap

ts
validationMetaMap: Record<ValidationErrorMapKeys, ValidationMeta | undefined>;
validationMetaMap: Record<ValidationErrorMapKeys, ValidationMeta | undefined>;

A record of field validation internal handling.

Subscribe to Bytes

Your weekly dose of JavaScript news. Delivered every Monday to over 100,000 devs, for free.

Bytes

No spam. Unsubscribe at any time.