Implementation of Validation Error interface
• new ValidationError(fieldName?
, errorMessages?
)
Name | Type | Default value |
---|---|---|
fieldName |
string |
'' |
errorMessages |
any [] |
[] |
• errorMessages: string
[]
List of error messages
IValidationError.errorMessages
• fieldName: string
name of the field