mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
docs(forms): fix duplicate validator reference titles in AbstractControl
The removeValidators and hasValidator methods both had identical "Reference to a ValidatorFn" section titles, causing duplicate entries in the API documentation table of contents.
(cherry picked from commit 456ca35906)
This commit is contained in:
parent
8f26a52aa8
commit
e21076d068
1 changed files with 0 additions and 4 deletions
|
|
@ -865,8 +865,6 @@ export abstract class AbstractControl<
|
|||
*
|
||||
* @usageNotes
|
||||
*
|
||||
* ### Reference to a ValidatorFn
|
||||
*
|
||||
* ```ts
|
||||
* // Reference to the RequiredValidator
|
||||
* const ctrl = new FormControl<string | null>('', Validators.required);
|
||||
|
|
@ -911,8 +909,6 @@ export abstract class AbstractControl<
|
|||
*
|
||||
* @usageNotes
|
||||
*
|
||||
* ### Reference to a ValidatorFn
|
||||
*
|
||||
* ```ts
|
||||
* // Reference to the RequiredValidator
|
||||
* const ctrl = new FormControl<number | null>(0, Validators.required);
|
||||
|
|
|
|||
Loading…
Reference in a new issue