# InputsDialogInteractionOptions

- Kind: `class`
- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Version: `13.3.0`
- Namespace: `Aspire.Hosting`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/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.
