Skip to main content

DashSelectOptionItem

TypeSource

DashSelectOptionItem(
label: str,
value: Any,
disabled: bool,
)

DashSelectOptionItem is a TypedDict.

The option item of a Dash selectable component.

The available options of the annotator. The usage is like the selector component dcc.Dropdown(options=...). Each item represents an available choice of the annotation type.

Aliases

This type can be acquired by

import dash_picture_annotation as dpa


dpa.DashSelectOptionItem
dpa.typehints.DashSelectOptionItem

Keywords

KeywordTypeRequired
Description
labelstrLabel (displayed text) of the option.
valueAnyThe value of the option which will be applied to the annotation data.
disabledboolA flag. If specified, this option item will be not selectable.