EvaluationContext
| Generic types: | TValue |
No documentation has been provided.
Properties
| Name | Type | Description |
|---|---|---|
| arrayIndex | number | undefined | Current array index when inside an array derivation. |
| arrayPath | string | undefined | Path to the array field when inside an array derivation. |
| customFunctions | Record<string, (context: | Custom evaluation functions |
| externalData | Record<string, unknown> | undefined | External data signals resolved to their current values. This allows forms to reference data from outside the form context in conditional logic, derivations, and other expressions. |
Example usage | ||
| fieldPath | string | Field path for relative references |
| fieldValue | TValue | Current field value |
| formValue | Record<string, unknown> | Form value for the current evaluation scope. For regular (non-array) derivations, this contains the complete form value. For array item derivations, this is scoped to the current array item. Use |
| logger | | Logger for diagnostic output |
| rootFormValue | Record<string, unknown> | undefined | Root form value when inside an array context. This provides access to values outside the current array item. When a derivation targets an array item field (e.g., |
Example usageFor non-array derivations, | ||