docs(forms): Fix minor typos
This commit is contained in:
parent
1a154daa2e
commit
730642bbd3
@ -415,7 +415,7 @@ table
|
|||||||
Now run the app and focus on the *Name* input box.
|
Now run the app and focus on the *Name* input box.
|
||||||
Follow the next four steps *precisely*
|
Follow the next four steps *precisely*
|
||||||
|
|
||||||
1. Look but don't touched
|
1. Look but don't touch
|
||||||
1. Click in the input box, then click outside the text input box
|
1. Click in the input box, then click outside the text input box
|
||||||
1. Add slashes to the end of the name
|
1. Add slashes to the end of the name
|
||||||
1. Erase the name
|
1. Erase the name
|
||||||
@ -480,7 +480,7 @@ figure.image-display
|
|||||||
We set `name` to `ngForm` because the `NgControlName` directive's `exportAs` property happens to be "ngForm".
|
We set `name` to `ngForm` because the `NgControlName` directive's `exportAs` property happens to be "ngForm".
|
||||||
|
|
||||||
This seems unintuitive at first until we realize that *all* control directives in the
|
This seems unintuitive at first until we realize that *all* control directives in the
|
||||||
Angular form family &mdash including `NgForm`, `NgModel`, `NgControlName` and `NgControlGroup` — *exportAs* "ngForm"
|
Angular form family — including `NgForm`, `NgModel`, `NgControlName` and `NgControlGroup` — *exportAs* "ngForm"
|
||||||
and we only ever apply *one* of these directives to an element tag.
|
and we only ever apply *one* of these directives to an element tag.
|
||||||
Consistency rules!
|
Consistency rules!
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user