Skip to content
Source
Sign inSign up
TanStack/form
Open History to see the last commit

FieldGroupDefinition.md

40 lines1.1 KB

Defined in: packages/preact-form/src/FieldGroup/withFields.public.ts:71

Type Parameters

TFields

TFields extends FieldGroupFields

TFieldComponents

TFieldComponents extends Record<string, FunctionComponent<any>>

Properties

bindComponent

bindComponent: FieldGroupWithFieldsFn<PreactFieldGroup<TFields, TFieldComponents>>;

Defined in: packages/preact-form/src/FieldGroup/withFields.public.ts:78

Binds a component's virtual field API to concrete paths in a form.


fields

fields: PreactFieldGroup<TFields, TFieldComponents>;

Defined in: packages/preact-form/src/FieldGroup/withFields.public.ts:76

The virtual field-group API injected into the bound component.