dynamic-forms / Interface

ConditionalExpression

No documentation has been provided.

Properties

NameTypeDescription
conditions
ConditionalExpression[] | undefined

Array of sub-conditions for 'and' and 'or' types

expression
string | undefined

JavaScript expression for custom logic

fieldPath
string | undefined

Field path for fieldValue type

operator
"equals" | "notEquals" | "greater" | "less" | "greaterOrEqual" | "lessOrEqual" | "contains" | "startsWith" | "endsWith" | "matches" | undefined

Comparison operator

type
"custom" | "fieldValue" | "formValue" | "javascript" | "and" | "or"

Expression type

value
unknown

Value to compare against