Skip to main content

regenerateIDs()

regenerateIDs<RG>(subject: RG, __namedParameters: RegenerateIdOptions): RG & { id: string; }

Defined in: packages/core/src/utils/regenerateIDs.ts:25

Recursively generates new id properties for a rule group and all its rules and subgroups.

Type Parameters

Type Parameter
RG

Parameters

ParameterType
subjectRG
__namedParametersRegenerateIdOptions

Returns

RG & { id: 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.