Lime Web Components API Documentation - v6.24.0
    Preparing search index...

    Interface ValidationError

    Describes a hierarchy of errors after validation has failed. The error object will have the same structure as the object being validated, e.g. each key in the error will have a corresponding key in the validated object.

    {
    "name": ["Length can not be more than 15", "Contains invalid characters"],
    "address": {
    "city": ["City does not exist"],
    "zipcode": ["Invalid zipcode"]
    }
    }

    Indexable

    • [key: string]: ValidationError | string[]

      Name of the field the error belongs to