Skip to main content

UseMergedContextParams<F extends FullField = FullField, O extends string = string, Finalize extends boolean | undefined = undefined>

UseMergedContextParams<F extends FullField = FullField, O extends string = string, Finalize extends boolean | undefined = undefined> = QueryBuilderContextProps<F, O> & { finalize?: Finalize; initialQuery?: RuleGroupTypeAny; qbId?: string; }

Defined in: packages/react-querybuilder/src/hooks/useMergedContext.ts:28

Type Declaration​

finalize?​

optional finalize?: Finalize

When true, props and context are merged with defaults to ensure all properties are defined. Action elements and value selectors are merged with their respective bulk override components. Only needs to be true when run from QueryBuilder.

initialQuery?​

optional initialQuery?: RuleGroupTypeAny

qbId?​

optional qbId?: string

Type Parameters​

Type ParameterDefault type
F extends FullFieldFullField
O extends stringstring
Finalize extends boolean | undefinedundefined

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.