Skip to main content

ExpressionValueEditor()

ExpressionValueEditor(props: ValueEditorProps): Element

Defined in: expr/src/ui/ExpressionValueEditor.tsx:19

Value-editor override hosting the rule's right-hand side. When valueSource is expression, the rule's value holds an ExpressionNode (rooted at a function call) edited by ExpressionEditor. For between/notBetween the value is a 2-tuple of nodes [lower, upper], rendered as two editors flanking the separator. Every other value source renders the inherited (or default) value editor unchanged. The expression source is offered by ExpressionValueSourceSelector, which seeds the initial node(s).

Parameters

ParameterType
propsValueEditorProps

Returns

Element


caution

API documentation is generated from the latest commit on the main branch. It may be somewhat inconsistent with official releases of React Query Builder.