Skip to content
DocsTry Aspire
DocsTry

InputsDialogInteractionOptions Properties

ClassProperties1 member
Options for configuring an inputs dialog interaction.
ValidationCallbackSection titled ValidationCallbacknullableFunc<InputsDialogValidationContext, Task>
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, the dialog will not close and the user will be prompted to correct the errors.
public Func<InputsDialogValidationContext, Task>? ValidationCallback { get; set; }