# InputsDialogInteractionOptions Properties

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [InputsDialogInteractionOptions](/reference/api/csharp/aspire.hosting/inputsdialoginteractionoptions.md)
- Kind: `Properties`
- Members: `1`

Options for configuring an inputs dialog interaction.

## ValidationCallback

- Name: `ValidationCallback`
- Modifiers: `nullable` `get; set`
- Returns: `Func<InputsDialogValidationContext, Task>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/IInteractionService.cs)

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.

```csharp
public Func<InputsDialogValidationContext, Task>? ValidationCallback { get; set; }
```
