parent
8296f6b681
commit
18798a1cb2
|
@ -145,8 +145,6 @@ export class RadioControlValueAccessor implements ControlValueAccessor,
|
|||
/**
|
||||
* @description
|
||||
* A lifecycle method called when the directive is initialized. For internal use only.
|
||||
*
|
||||
* @param changes A object of key/value pairs for the set of changed inputs.
|
||||
*/
|
||||
ngOnInit(): void {
|
||||
this._control = this._injector.get(NgControl);
|
||||
|
@ -157,8 +155,6 @@ export class RadioControlValueAccessor implements ControlValueAccessor,
|
|||
/**
|
||||
* @description
|
||||
* Lifecycle method called before the directive's instance is destroyed. For internal use only.
|
||||
*
|
||||
* @param changes A object of key/value pairs for the set of changed inputs.
|
||||
*/
|
||||
ngOnDestroy(): void { this._registry.remove(this); }
|
||||
|
||||
|
|
|
@ -1338,7 +1338,7 @@ export class FormGroup extends AbstractControl {
|
|||
* Reports false for disabled controls. If you'd like to check for existence in the group
|
||||
* only, use {@link AbstractControl#get get} instead.
|
||||
*
|
||||
* @param name The control name to check for existence in the collection
|
||||
* @param controlName The control name to check for existence in the collection
|
||||
*
|
||||
* @returns false for disabled controls, true otherwise.
|
||||
*/
|
||||
|
@ -1443,7 +1443,7 @@ export class FormGroup extends AbstractControl {
|
|||
* is a standalone value or a form state object with both a value and a disabled
|
||||
* status.
|
||||
*
|
||||
* @param formState Resets the control with an initial value,
|
||||
* @param value Resets the control with an initial value,
|
||||
* or an object that defines the initial value and disabled state.
|
||||
*
|
||||
* @param options Configuration options that determine how the control propagates changes
|
||||
|
|
Loading…
Reference in New Issue