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/vue-form/src/FieldGroup/withFields.public.ts:95](https://github.com/TanStack/form/blob/main/packages/vue-form/src/FieldGroup/withFields.public.ts#L95)
7​
8## Type Parameters
9​
10### TFields
11​
12`TFields` *extends* `FieldGroupFields`
13​
14### TFieldComponents
15​
16`TFieldComponents` *extends* `Record`\<`string`, `Component`\>
17​
18## Properties
19​
20### bindComponent
21​
22```ts
23bindComponent: FieldGroupWithFieldsFn<VueFieldGroup<TFields, TFieldComponents>>;
24```
25​
26Defined in: [packages/vue-form/src/FieldGroup/withFields.public.ts:102](https://github.com/TanStack/form/blob/main/packages/vue-form/src/FieldGroup/withFields.public.ts#L102)
27​
28Binds a component's virtual field API to concrete paths in a form.
29​
30***
31​
32### fields
33​
34```ts
35fields: VueFieldGroup<TFields, TFieldComponents>;
36```
37​
38Defined in: [packages/vue-form/src/FieldGroup/withFields.public.ts:100](https://github.com/TanStack/form/blob/main/packages/vue-form/src/FieldGroup/withFields.public.ts#L100)
39​
40The virtual field-group API injected into the bound component.