Skip to content

Commit 20c4739

Browse files
Kisters-BSAndrewKushnir
authored andcommitted
docs: fix typo (angular#54427)
PR Close angular#54427
1 parent 12d4b8e commit 20c4739

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/forms/src/directives/validators.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ export const MAX_LENGTH_VALIDATOR: any = {
563563
};
564564

565565
/**
566-
* A directive that adds max length validation to controls marked with the
566+
* A directive that adds maximum length validation to controls marked with the
567567
* `maxlength` attribute. The directive is provided with the `NG_VALIDATORS` multi-provider list.
568568
*
569569
* @see [Form Validation](guide/form-validation)
@@ -591,7 +591,7 @@ export const MAX_LENGTH_VALIDATOR: any = {
591591
export class MaxLengthValidator extends AbstractValidatorDirective {
592592
/**
593593
* @description
594-
* Tracks changes to the minimum length bound to this directive.
594+
* Tracks changes to the maximum length bound to this directive.
595595
*/
596596
@Input() maxlength!: string|number|null;
597597

0 commit comments

Comments
 (0)