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

FieldGroupDefinition.md

40 lines1.1 KB

1---
2id: FieldGroupDefinition
3title: FieldGroupDefinition
4---
5​
6Defined in: [packages/solid-form/src/FieldGroup/withFields.public.ts:67](https://github.com/TanStack/form/blob/main/packages/solid-form/src/FieldGroup/withFields.public.ts#L67)
7​
8## Type Parameters
9​
10### TFields
11​
12`TFields` *extends* `FieldGroupFields`
13​
14### TFieldComponents
15​
16`TFieldComponents` *extends* `Record`\<`string`, `Component`\<`any`\>\>
17​
18## Properties
19​
20### bindComponent
21​
22```ts
23bindComponent: FieldGroupWithFieldsFn<SolidFieldGroup<TFields, TFieldComponents>>;
24```
25​
26Defined in: [packages/solid-form/src/FieldGroup/withFields.public.ts:74](https://github.com/TanStack/form/blob/main/packages/solid-form/src/FieldGroup/withFields.public.ts#L74)
27​
28Binds a component's virtual field API to concrete paths in a form.
29​
30***
31​
32### fields
33​
34```ts
35fields: SolidFieldGroup<TFields, TFieldComponents>;
36```
37​
38Defined in: [packages/solid-form/src/FieldGroup/withFields.public.ts:72](https://github.com/TanStack/form/blob/main/packages/solid-form/src/FieldGroup/withFields.public.ts#L72)
39​
40The virtual field-group API injected into the bound component.