SoulFire TypeScript SDK 2.10.3
    Preparing search index...

    Type Alias DialogSingleOptionInput

    DialogSingleOptionInput: Message<"soulfire.v1.DialogSingleOptionInput"> & {
        initialOptionId: string;
        key: string;
        label: string;
        labelVisible: boolean;
        options: DialogOption[];
        width: number;
    }

    Single option selection input (dropdown/combo box) in a dialog.

    Type Declaration

    • initialOptionId: string

      ID of the initially selected option.

      from field: string initial_option_id = 6;

    • key: string

      Identifier used when submitting the dialog.

      from field: string key = 1;

    • label: string

      Display label for the dropdown.

      from field: string label = 2;

    • labelVisible: boolean

      Whether to show the label. Default: true.

      from field: bool label_visible = 3;

    • options: DialogOption[]

      Available options to choose from.

      from field: repeated soulfire.v1.DialogOption options = 5;

    • width: number

      Display width in pixels. Range: 1-1024, default: 200.

      from field: int32 width = 4;

    from message soulfire.v1.DialogSingleOptionInput