Skip to content

@serenity-is/corelib / ComboboxItem

Interface: ComboboxItem<TSource>

Defined in: src/ui/editors/combobox.ts:14

A single item in a combobox.

Type Parameters

TSource

TSource = any

The source item type.

Properties

disabled?

optional disabled: boolean

Defined in: src/ui/editors/combobox.ts:24

Whether the item is disabled.


icon?

optional icon: IconClassName

Defined in: src/ui/editors/combobox.ts:20

Icon class for the item.


id?

optional id: string

Defined in: src/ui/editors/combobox.ts:16

Unique identifier of the combobox item.


source?

optional source: TSource

Defined in: src/ui/editors/combobox.ts:22

The source item.


text?

optional text: string

Defined in: src/ui/editors/combobox.ts:18

Display text.