Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

ParameterCustomInputOptions

Struct
📦 Aspire.Hosting v17.0.0

Options for customizing parameter inputs from polyglot AppHosts.

type ParameterCustomInputOptions struct {
InputType *InputType `json:"InputType"`
Label *string `json:"Label"`
Description *string `json:"Description"`
EnableDescriptionMarkdown *bool `json:"EnableDescriptionMarkdown"`
Options map[string]string `json:"Options"`
Value *string `json:"Value"`
Placeholder *string `json:"Placeholder"`
AllowCustomChoice *bool `json:"AllowCustomChoice"`
Disabled *bool `json:"Disabled"`
MaxLength *float64 `json:"MaxLength"`
}

Fields

InputType*InputTypeoptional
Gets or sets the type of the input.
Label*string
Gets or sets the label for the input.
Description*string
Gets or sets the description for the input.
EnableDescriptionMarkdown*booloptional
Gets or sets whether the description should be rendered as Markdown.
Optionsmap[string]string
Gets or sets the choice options keyed by submitted value.
Value*string
Gets or sets the initial value of the input.
Placeholder*string
Gets or sets the placeholder text for the input.
AllowCustomChoice*booloptional
Gets or sets whether custom choices are allowed.
Disabled*booloptional
Gets or sets whether the input is disabled.
MaxLength*float64optional
Gets or sets the maximum length for text inputs.