aem-forms-af-runtime

Class: ValidationError

Implementation of Validation Error interface

Implements

Table of contents

Constructors

Properties

Constructors

constructor

• new ValidationError(fieldName?, errorMessages?)

Parameters

Name Type Default value
fieldName string ''
errorMessages any[] []

Properties

errorMessages

• errorMessages: string[]

List of error messages

Implementation of

IValidationError.errorMessages


fieldName

• fieldName: string

name of the field

Implementation of

IValidationError.fieldName