ExpressionValueSourceSelector()
ExpressionValueSourceSelector(
props:ValueSourceSelectorProps):Element
Defined in: expr/src/ui/ExpressionValueSourceSelector.tsx:20
Value-source selector override. Relabels the expression option (core emits a raw,
lowercase label) and, when it is selected, atomically seeds value with a default
function node so the ExpressionValueEditor has an expression to render —
a 2-tuple of nodes for between/notBetween, a single node otherwise. Every other value
source delegates to the inherited (or default) selector unchanged.
Parameters
| Parameter | Type |
|---|---|
props | ValueSourceSelectorProps |
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.