docs(forms): fix grammar and add clarification to setValue docs (#33126)
Changed `setValue` documentation for throwing an error as it contained a grammar mistake and also may have caused ambiguity around when exactly the method would throw. PR Close #33126
This commit is contained in:
parent
418e9cf3c4
commit
403bb6bee3
@ -1366,7 +1366,7 @@ export class FormGroup extends AbstractControl {
|
|||||||
* ```
|
* ```
|
||||||
*
|
*
|
||||||
* @throws When strict checks fail, such as setting the value of a control
|
* @throws When strict checks fail, such as setting the value of a control
|
||||||
* that doesn't exist or if you excluding the value of a control.
|
* that doesn't exist or if you exclude a value of a control that does exist.
|
||||||
*
|
*
|
||||||
* @param value The new value for the control that matches the structure of the group.
|
* @param value The new value for the control that matches the structure of the group.
|
||||||
* @param options Configuration options that determine how the control propagates changes
|
* @param options Configuration options that determine how the control propagates changes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user