Spec-Zone.ru › Angular

maxDateError

Create a maxDate error associated with the target field

API

function maxDateError(
  maxDate: Date,
  options: WithFieldTree<ValidationErrorOptions>,
): MaxDateValidationError;
function maxDateError(
  maxDate: Date,
  options?: ValidationErrorOptions | undefined,
): WithoutFieldTree<MaxDateValidationError>;
function maxDateError(maxDate: Date, options: WithFieldTree<ValidationErrorOptions>): MaxDateValidationError;

Create a maxDate error associated with the target field

@parammaxDateDate

The max date constraint

@paramoptionsWithFieldTree<ValidationErrorOptions>

The validation error options

@returnsMaxDateValidationError
function maxDateError(maxDate: Date, options?: ValidationErrorOptions | undefined): WithoutFieldTree<MaxDateValidationError>;

Create a maxDate error

@parammaxDateDate

The max date constraint

@paramoptionsValidationErrorOptions | undefined

The optional validation error options

@returnsWithoutFieldTree<MaxDateValidationError>

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

Spec-Zone.ru

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