# InputsDialogInteractionOptions

- Kind: `class`
- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Version: `13.4.0`
- Namespace: `Aspire.Hosting`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/a3766e994fd2cba86c8ac60b8a80268cab7e6383/src/Aspire.Hosting/IInteractionService.cs)
- Inherits: [InteractionOptions](/reference/api/csharp/aspire.hosting/interactionoptions.md)

Options for configuring an inputs dialog interaction.

## Definition

```csharp
namespace Aspire.Hosting;

public class InputsDialogInteractionOptions
    : Aspire.Hosting.InteractionOptions
{
    // ...
}
```

## Constructors

- [InputsDialogInteractionOptions](/reference/api/csharp/aspire.hosting/inputsdialoginteractionoptions/constructors.md#constructor)

## Properties

- [ValidationCallback](/reference/api/csharp/aspire.hosting/inputsdialoginteractionoptions/properties.md#validationcallback) : `Func<InputsDialogValidationContext, Task>` `get; set` -- Gets or sets the validation callback for the inputs dialog. This callback is invoked when the user submits the dialog. If validation errors are added to the [InputsDialogValidationContext](/reference/api/csharp/aspire.hosting/inputsdialogvalidationcontext.md), the dialog will not close and the user will be prompted to correct the errors.
