Skip to main content

UseMergedContextProps<F, O>

UseMergedContextProps<F, O>: QueryBuilderContextProps<F, O> & { finalize: boolean; initialQuery: RuleGroupTypeAny; qbId: string; }

Type declaration

finalize?

optional finalize: boolean

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

Defined in

packages/react-querybuilder/src/hooks/useMergedContext.ts:21


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.