Skip to content

Type Alias: ContextMode

ContextMode = "siblings" | "extended"

Defined in: analyzeSchema.ts:22

Controls which values are injected into the formula evaluation context.

  • 'siblings' (default): only the sibling fields of the computed field are available by name.
  • 'extended': full form data and the field's resolved path are injected alongside sibling values, under the keys configured by formulaDataKey and formulaPathKey.

Set via the x-formula-context schema key (or the formulaContextKey prop).

Released under the MIT License.