# InteractionInputsDialogOptions

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

Options for inputs dialog prompts.

## Definition

```go
type InteractionInputsDialogOptions struct {
    PrimaryButtonText     *string          `json:"PrimaryButtonText"`
    SecondaryButtonText   *string          `json:"SecondaryButtonText"`
    ShowSecondaryButton   *bool            `json:"ShowSecondaryButton"`
    ShowDismiss           *bool            `json:"ShowDismiss"`
    EnableMessageMarkdown *bool            `json:"EnableMessageMarkdown"`
    ValidationCallback    func(...any) any `json:"ValidationCallback"`
}
```

## Fields

- `PrimaryButtonText`: `*string` `optional` -- Gets or sets the primary button text.
- `SecondaryButtonText`: `*string` `optional` -- Gets or sets the secondary button text.
- `ShowSecondaryButton`: `*bool` `optional` -- Gets or sets a value indicating whether the secondary button is shown.
- `ShowDismiss`: `*bool` `optional` -- Gets or sets a value indicating whether the dismiss button is shown.
- `EnableMessageMarkdown`: `*bool` `optional` -- Gets or sets a value indicating whether Markdown in the message is rendered.
- `ValidationCallback`: `func(...any) any` `optional` `callback` -- Gets or sets a callback invoked to validate the inputs before the dialog is accepted. The callback receives a validation context that exposes the current inputs and can record validation errors.
