Skip to main content

Interface: FullOption<N>

react-querybuilder.FullOption

A generic Option requiring both name and value properties. Props that extend OptionList accept BaseOption, but corresponding props sent to subcomponents will always be translated to this type first to ensure both name and value are available.

NOTE: Do not extend from this type directly. Use BaseFullOption (optionally wrappped in WithUnknownIndex) instead, otherwise the unknown index property will cause issues.

Type parameters

NameType
Nextends string = string

Hierarchy

Properties

disabled

Optional disabled: boolean

Inherited from

WithUnknownIndex.disabled

Defined in

packages/react-querybuilder/src/types/options.ts:33


label

label: string

Inherited from

WithUnknownIndex.label

Defined in

packages/react-querybuilder/src/types/options.ts:32


name

name: N

Inherited from

WithUnknownIndex.name

Defined in

packages/react-querybuilder/src/types/options.ts:30


value

value: N

Inherited from

WithUnknownIndex.value

Defined in

packages/react-querybuilder/src/types/options.ts:31