FieldInfo

Type Alias: FieldInfo<TFormData, TFormValidator>

ts
type FieldInfo<TFormData, TFormValidator>: object;

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;

An instance of the FieldAPI.

validationMetaMap

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

A record of field validation internal handling.

Defined in

packages/form-core/src/FormApi.ts:197

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.

scarf analytics