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
@parammaxDate
DateThe max date constraint
@returns
MaxDateValidationError
function maxDateError(maxDate: Date, options?: ValidationErrorOptions | undefined): WithoutFieldTree<MaxDateValidationError>;
Create a maxDate error
@parammaxDate
DateThe max date constraint
@returns
WithoutFieldTree<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