mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08: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.
This commit is contained in:
committed by
Kirill Cherkashin
parent
9184146529
commit
456ca35906
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user