# CreateInteractionInputOptions

- Module: [Aspire.Hosting](/reference/api/go/aspire.hosting.md)
- Version: `17.0.0`
- Kind: `struct`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/bcfa151cdca6d0a573f22d5d9c23f9c727cb3b2f)

Optional configuration shared by interaction input factory capabilities.

## Definition

```go
type CreateInteractionInputOptions struct {
    Label                     *string  `json:"Label"`
    Description               *string  `json:"Description"`
    EnableDescriptionMarkdown *bool    `json:"EnableDescriptionMarkdown"`
    Required                  *bool    `json:"Required"`
    Placeholder               *string  `json:"Placeholder"`
    Value                     *string  `json:"Value"`
    AllowCustomChoice         *bool    `json:"AllowCustomChoice"`
    Disabled                  *bool    `json:"Disabled"`
    MaxLength                 *float64 `json:"MaxLength"`
    MaxFileSize               *float64 `json:"MaxFileSize"`
    AllowMultipleFiles        *bool    `json:"AllowMultipleFiles"`
    FileFilter                *string  `json:"FileFilter"`
}
```

## Fields

- `Label`: `*string` `optional` -- Gets or sets the label for the input. Defaults to the input name when not specified.
- `Description`: `*string` `optional` -- Gets or sets the description for the input.
- `EnableDescriptionMarkdown`: `*bool` `optional` -- Gets or sets a value indicating whether the description is rendered as Markdown.
- `Required`: `*bool` `optional` -- Gets or sets a value indicating whether the input is required.
- `Placeholder`: `*string` `optional` -- Gets or sets the placeholder text for the input.
- `Value`: `*string` `optional` -- Gets or sets the initial value of the input.
- `AllowCustomChoice`: `*bool` `optional` -- Gets or sets a value indicating whether a custom choice is allowed. Only used by choice inputs.
- `Disabled`: `*bool` `optional` -- Gets or sets a value indicating whether the input is disabled.
- `MaxLength`: `*float64` `optional` -- Gets or sets the maximum length for text inputs.
- `MaxFileSize`: `*float64` `optional` -- Gets or sets the maximum file size in bytes for file inputs.
- `AllowMultipleFiles`: `*bool` `optional` -- Gets or sets a value indicating whether multiple files can be selected. Only used by file inputs.
- `FileFilter`: `*string` `optional` -- Gets or sets the file type filter for file inputs. Uses the same format as the HTML accept attribute. The CLI validates only dot-prefixed extension filters and does not validate MIME type patterns such as "image/*".
