• Overview
@angular/forms/signals

MinLengthValidationError

Class

An error used to indicate that a value is shorter than the minimum allowed length.

API

    
      class MinLengthValidationError extends _NgValidationError {  constructor(minLength: number, options?: ValidationErrorOptions | undefined): MinLengthValidationError;  readonly kind: "minLength";  readonly override field: FieldTree<unknown>;  readonly override message?: string | undefined;}
    
    

constructor

MinLengthValidationError
@paramminLengthnumber
@paramoptionsValidationErrorOptions | undefined

kind

"minLength"

field

FieldTree<unknown>

The field associated with this error.

message

string | undefined

Human readable error message.

Jump to details