Skip to main content

AddOptions

Options for add.

Properties

combinatorPreceding?

optional combinatorPreceding: string

If the query extends RuleGroupTypeIC (i.e. the query has independent combinators), then this combinator will be inserted before the new rule/group if the parent group is not empty. This option will supersede combinators.

Defined in

packages/react-querybuilder/src/utils/queryTools.ts:34


combinators?

optional combinators: OptionList

If the query extends RuleGroupTypeIC (i.e. the query has independent combinators), then the first combinator in this list will be inserted before the new rule/group if the parent group is not empty. This option is overridden by combinatorPreceding.

Defined in

packages/react-querybuilder/src/utils/queryTools.ts:28


idGenerator()?

optional idGenerator: () => string

ID generator.

Returns

string

Defined in

packages/react-querybuilder/src/utils/queryTools.ts:38


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.