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