Skip to content
Docs Try Aspire
Docs Try

InputsDialogValidationContext.addValidationError

Method
📦 Aspire.Hosting v13.4.0
interface InputsDialogValidationContext {
// ... omitted for brevity
addValidationError(
inputName: string,
errorMessage: string): void;
}

Signature

method addValidationError
Adds a validation error for the input with the specified name.
addValidationError(
inputName: string,
errorMessage: string): void
inputName string
errorMessage string

Defined on

This method is defined on the following type: