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: FieldTree<unknown>;
readonly override message?: string | undefined;
}
constructor
MinLengthValidationError
@paramminLength
number
@returns
MinLengthValidationError
kind
"minLength"fieldTree
FieldTree<unknown>The field associated with this error.
message
string | undefinedHuman readable error message.