Interface: AddOptions
react-querybuilder.AddOptions
Options object 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.
Type declaration
(): string
Returns
string