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:
Shuaib Hasan Akib 2026-01-06 02:12:05 +06:00 committed by kirjs
parent 8f26a52aa8
commit e21076d068

View file

@ -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);