FieldPath
Type Alias
An object that represents a location in the Field
tree structure and is used to bind logic to a
particular part of the structure prior to the creation of the form. Because the FieldPath
exists prior to the form's creation, it cannot be used to access any of the field state.
API
type FieldPath<TValue, TPathKind extends PathKind = PathKind.Root> = { [ɵɵTYPE]: [TValue, TPathKind];} & (TValue extends Array<unknown> ? unknown : TValue extends Record<string, any> ? {[K in keyof TValue]: MaybeFieldPath<TValue[K], PathKind.Child>} : unknown)
Jump to details