minLengthError
Create a minLength error associated with the target field
API
function minLengthError( minLength: number, options: WithFieldTree<ValidationErrorOptions>, ): MinLengthValidationError; function minLengthError( minLength: number, options?: ValidationErrorOptions | undefined, ): WithoutFieldTree<MinLengthValidationError>;
function minLengthError(minLength: number, options: WithFieldTree<ValidationErrorOptions>): MinLengthValidationError;
Create a minLength error associated with the target field
@paramminLength
numberThe minLength constraint
@returns
MinLengthValidationError
function minLengthError(minLength: number, options?: ValidationErrorOptions | undefined): WithoutFieldTree<MinLengthValidationError>;
Create a minLength error
@paramminLength
numberThe minLength constraint
@returns
WithoutFieldTree<MinLengthValidationError>
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/minLengthError