A multiple-choice option.

interface MultipleOption {
    defaultValue?: string;
    description?: LocalizableString;
    identifier: string;
    label?: LocalizableString;
    valueLabels?: readonly LocalizableString[];
    values?: readonly string[];

Hierarchy (view full)


defaultValue?: string

The default value of the option. If omitted, multiple options default to the top item in the list.

description?: LocalizableString

An optional longer explanantion of this option, to be shown in the UI.

identifier: string

An identifying string for this option.

A short label for this option.

valueLabels?: readonly LocalizableString[]

Display names corresponding to the entries in the values array. These are shown in the option UI. If ommitted, the raw value strings are shown instead.

values?: readonly string[]

The possible values for a multiple option.