| 568 | standalone: false, |
| 569 | }) |
| 570 | export class MinLengthValidator extends AbstractValidatorDirective { |
| 571 | /** |
| 572 | * @description |
| 573 | * Tracks changes to the minimum length bound to this directive. |
| 574 | */ |
| 575 | @Input() minlength!: string | number | null; |
| 576 | |
| 577 | /** @internal */ |
| 578 | override inputName = 'minlength'; |
| 579 | |
| 580 | /** @internal */ |
| 581 | override normalizeInput = (input: string | number): number => toInteger(input); |
| 582 | |
| 583 | /** @internal */ |
| 584 | override createValidator = (minlength: number): ValidatorFn => minLengthValidator(minlength); |
| 585 | } |
| 586 | |
| 587 | /** |
| 588 | * @description |
nothing calls this directly
no test coverage detected
searching dependent graphs…