• 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

MinLengthValidationError
@paramminLengthnumber
@paramoptionsValidationErrorOptions | undefined

kind

"minLength"

field

() => FieldState<unknown, string | number>

The field associated with this error.

message

string | undefined

Human readable error message.

[BRAND]

undefined

Brand the class to avoid Typescript structural matching

Jump to details