Skip to main content

getValueSelectorUpdate()

getValueSelectorUpdate(value: string | string[], __namedParameters?: { listsAsArrays?: boolean; multiple?: boolean; }): string | string[]

Defined in: packages/core/src/utils/deriveValueEditor.ts:148

Produces the next value for a value selector. Multiselect values are normalized to an array first, then comma-joined unless listsAsArrays is true. Single-select values pass through.

Parameters

ParameterType
valuestring | string[]
__namedParameters{ listsAsArrays?: boolean; multiple?: boolean; }
__namedParameters.listsAsArrays?boolean
__namedParameters.multiple?boolean

Returns

string | string[]


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.