Skip to main content

getQuerySelectorById()

getQuerySelectorById(qbId): (state) => RuleGroupTypeAny

Given a qbId (provided as part of the schema prop), returns a selector for use with useQueryBuilderSelector.

Parameters

ParameterType
qbIdstring

Returns

Function

Parameters

ParameterType
stateRqbState

Returns

RuleGroupTypeAny

Source

packages/react-querybuilder/src/redux/index.ts:43


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.