Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

InputType

Enum
📦 Aspire.Hosting v17.0.0

Specifies the type of input for an InteractionInput.

type InputType string
const (
InputTypeText InputType = "Text"
InputTypeSecretText InputType = "SecretText"
InputTypeChoice InputType = "Choice"
InputTypeBoolean InputType = "Boolean"
InputTypeNumber InputType = "Number"
InputTypeFile InputType = "File"
)

Values

InputTypeText"Text"
A single-line text input.
InputTypeSecretText"SecretText"
A secure text input.
InputTypeChoice"Choice"
A choice input. Selects from a list of options.
InputTypeBoolean"Boolean"
A boolean input.
InputTypeNumber"Number"
A numeric input.
InputTypeFile"File"
A file input. Allows the user to select a file using the OS/browser file picker.