isCrossFieldStateLogic
Detects if a StateLogicConfig has a cross-field condition.
Note: This function only handles state logic (hidden, readonly, disabled, required). Derivation logic is handled separately by the derivation system.
Presentation
function isCrossFieldStateLogic (
config: StateLogicConfig ,
context?: CrossFieldDetectionContext | undefined,
): boolean;Returns
boolean -true if the logic condition references other fields
Parameters
| Name | Type | Description |
|---|---|---|
| config | | The state logic configuration to check |
| context | | Optional context providing function scope lookup |