# InteractionInput

- Module: [Aspire.Hosting](/reference/api/typescript/aspire.hosting.md)
- Version: `13.4.0`
- Kind: `type`
- Source: [GitHub](https://github.com/microsoft/aspire)

Represents an input for an interaction.

## Definition

```typescript
type InteractionInput = {
  Name: string;
  Label?: string;
  Description?: string;
  EnableDescriptionMarkdown?: boolean;
  InputType: InputType;
  Required?: boolean;
  Options: String]][];
  DynamicLoading?: InputLoadOptions;
  Value: string;
  Placeholder?: string;
  AllowCustomChoice?: boolean;
  Disabled: boolean;
  MaxLength?: number;
}
```

## Fields

- `Name`: `string`
- `Label`: `string` `optional`
- `Description`: `string` `optional`
- `EnableDescriptionMarkdown`: `boolean` `optional`
- `InputType`: [InputType](/reference/api/typescript/aspire.hosting/inputtype.md)
- `Required`: `boolean` `optional`
- `Options`: `String]][]`
- `DynamicLoading`: `InputLoadOptions` `optional`
- `Value`: `string`
- `Placeholder`: `string` `optional`
- `AllowCustomChoice`: `boolean` `optional`
- `Disabled`: `boolean`
- `MaxLength`: `number` `optional`
