Spec-Zone.ru › Angular

MinLengthValidationError

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

API

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

constructor

MinLengthValidationError
@paramminLengthnumber
@paramoptionsValidationErrorOptions | undefined
@returnsMinLengthValidationError

kind

"minLength"

fieldTree

ReadonlyFieldTree<unknown>

The field associated with this error.

message

string | undefined

Human readable error message.

Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/forms/signals/MinLengthValidationError

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API