Optional
eqThe value that should be checked against the comparison component.
For array values, the array is checked if it contains the specified value.
Only (a subset of) primitives are supported.
Optional
showIf the field should show if the condition is true
Optional
whenThe field API key that it should compare its value against to determine if the condition is triggered.
Generated using TypeDoc
Replacement of Formio's
ConditionalOptions
, changes are:json
eq
can be any JSON-serializable type, not just string. Note that our builder uses appropriate JS types for the component type referenced viawhen
.`