Skip to main content

derivePathInfo()

derivePathInfo(path: Path, childCount: number, __namedParameters?: { disabled?: boolean; disabledPaths?: Path[]; }): PathInfo[]

Defined in: packages/core/src/utils/pathUtils.ts:161

Builds the PathInfo for each child of a group at path. A child is disabled if its parent is disabled or if its own path appears in disabledPaths.

Parameters

ParameterType
pathPath
childCountnumber
__namedParameters{ disabled?: boolean; disabledPaths?: Path[]; }
__namedParameters.disabled?boolean
__namedParameters.disabledPaths?Path[]

Returns

PathInfo[]


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.