ItemFieldContext
interface
Field context that is available for all fields that are an item in an array field.
index
Signal<number>
The index of the current field in its parent field.
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.
Jump to details