• Overview
@angular/forms/signals

ChildFieldContext

interface

Field context that is available for all fields that are a child of another field.

API

    
      interface ChildFieldContext<TValue> extends RootFieldContext<TValue> {}
    
    

key

Signal<string>

The key of the current field in its parent field.

value

Signal<TValue>

A signal containing the value of the current field.

state

FieldState<TValue, string | number>

The state of the current field.

field

Field<TValue, string | number>

The current field.

valueOf

<P>(p: FieldPath<P, Root>) => P

Gets the value of the field represented by the given path.

stateOf

<P>(p: FieldPath<P, Root>) => FieldState<P, string | number>

Gets the state of the field represented by the given path.

fieldOf

<P>(p: FieldPath<P, Root>) => Field<P, string | number>

Gets the field represented by the given path.

Jump to details