Skip to main content

useControlledOrUncontrolled()

useControlledOrUncontrolled(params: UseControlledOrUncontrolledParams): void

Defined in: packages/react-querybuilder/src/hooks/useControlledOrUncontrolled.ts:17

Logs a warning when the component changes from controlled to uncontrolled, vice versa, or both query and defaultQuery are provided.

Parameters​

ParameterType
paramsUseControlledOrUncontrolledParams

Returns​

void


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.