Function
evaluateNonFieldHidden
@ng-forge/dynamic-forms
Evaluates the hidden state for non-form-bound elements synchronously.
This is a pure function (no signal allocation) that can be called directly inside
an existing block without creating ephemeral signal allocations.computed()
The hidden state is determined by (in order of precedence):
1. Explicit hidden: true on the field definition
2. Field-level logic array with type: 'hidden' conditions
Signature
function evaluateNonFieldHidden(ctx: NonFieldLogicContext): booleanParameters
| Name | Type | Description |
|---|---|---|
ctx | NonFieldLogicContext | - The context containing form, logic array, and explicit hidden state |
Returns
boolean
packages/dynamic-forms/src/lib/core/logic/non-field-logic-resolver.ts:357