Spec-Zone.ru › Angular

MaxLengthValidationError

An error used to indicate that a value is longer than the maximum allowed length.

API

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

constructor

MaxLengthValidationError
@parammaxLengthnumber
@paramoptionsValidationErrorOptions | undefined
@returnsMaxLengthValidationError

kind

"maxLength"

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/MaxLengthValidationError

Spec-Zone.ru

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