Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

InteractionChoiceOption

Struct
📦 Aspire.Hosting v17.0.0

A single selectable option for a choice input. Options are presented in the order supplied.

type InteractionChoiceOption struct {
Value string `json:"Value"`
Label string `json:"Label"`
}

Fields

Valuestring
Gets or sets the value submitted when this option is selected.
Labelstring
Gets or sets the label displayed for this option.