Skip to main content

ResolveOptionListOptions

Defined in: packages/core/src/utils/optionResolvers.ts:18

Options shared by the resolvers below that produce a normalized option list.

Properties

autoSelectOption?

optional autoSelectOption?: boolean

Defined in: packages/core/src/utils/optionResolvers.ts:27

When false, an empty placeholder option is prepended.


baseOption?

optional baseOption?: Record<string, unknown>

Defined in: packages/core/src/utils/optionResolvers.ts:25

Properties applied to every option in the resulting list.


placeholder?

optional placeholder?: Placeholder

Defined in: packages/core/src/utils/optionResolvers.ts:23

Prepended as an empty placeholder option when autoSelectOption is false. Supplied by the translations prop in React; omit it where translations don't apply.


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.