Ibyar/Aurora
    Preparing search index...

    Type Alias ValidationErrors

    Defines the map of errors returned from failed validation checks.

    type ValidationErrors = {
        customValidityMessage?: string | null;
        [error: string]: any;
    }

    Indexable

    • [error: string]: any

      any error name that

    Index
    customValidityMessage?: string | null

    Adds a custom error message to the element; if you set a custom error message, the element is considered to be invalid, and the specified error is displayed. This lets you use JavaScript code to establish a validation failure other than those offered by the standard HTML validation constraints. The message is shown to the user when reporting the problem.