Skip to main content

toFullOptionList()

toFullOptionList<Opt, OptList>(optList, baseProperties?): FullOptionList<Opt>

Converts an OptionList or FlexibleOptionList into a FullOptionList. Lists of full options are left unchanged.

Type Parameters

Type Parameter
Opt extends BaseOption<string>
OptList extends FlexibleOptionList<Opt>

Parameters

ParameterType
optListOptList
baseProperties?Record<string, unknown>

Returns

FullOptionList<Opt>

Defined in

packages/react-querybuilder/src/utils/optGroupUtils.ts:57


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.