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:
Colum Ferry 2019-10-12 23:42:51 +01:00 committed by Matias Niemelä
parent 418e9cf3c4
commit 403bb6bee3
1 changed files with 1 additions and 1 deletions

View File

@ -1366,7 +1366,7 @@ export class FormGroup extends AbstractControl {
* ```
*
* @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 options Configuration options that determine how the control propagates changes