Skip to main content

MoveOptions

Defined in: packages/react-querybuilder/src/utils/queryTools.ts:289

Options for move.

Properties

clone?

optional clone: boolean

Defined in: packages/react-querybuilder/src/utils/queryTools.ts:293

When true, the source rule/group will not be removed from its original path.


combinators?

optional combinators: OptionList

Defined in: packages/react-querybuilder/src/utils/queryTools.ts:299

If the query extends RuleGroupTypeIC (i.e. the query is using independent combinators), then the first combinator in this list will be inserted before the rule/group if necessary.


idGenerator()?

optional idGenerator: () => string

Defined in: packages/react-querybuilder/src/utils/queryTools.ts:303

ID generator.

Returns

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.