MCPcopy Index your code
hub / github.com/angular/angular / minLength

Method minLength

packages/forms/src/validators.ts:333–335  ·  view source on GitHub ↗

* @description * Validator that requires the number of items in the control's value to be greater than or equal * to the provided minimum length. This validator is also provided by default if you use * the HTML5 `minlength` attribute. Note that the `minLength` validator is intended to be us

(minLength: number)

Source from the content-addressed store, hash-verified

331 *
332 */
333 static minLength(minLength: number): ValidatorFn {
334 return minLengthValidator(minLength);
335 }
336
337 /**
338 * @description

Callers 12

form_group_spec.tsFile · 0.45
validators_spec.tsFile · 0.45
form_array_spec.tsFile · 0.45
NestedFormGroupCompClass · 0.45
constructorMethod · 0.45
SimpleFormControlClass · 0.45
SimpleFormGroupClass · 0.45
ngOnInitMethod · 0.45
LoginComponentClass · 0.45

Calls 1

minLengthValidatorFunction · 0.85

Tested by

no test coverage detected