docs(NgControlName): correct exports name (#9021)
This commit is contained in:
parent
52ddc96c9f
commit
994d9212c1
|
@ -50,7 +50,7 @@ export const controlNameBinding: any =
|
||||||
* directives: [FORM_DIRECTIVES],
|
* directives: [FORM_DIRECTIVES],
|
||||||
* template: `
|
* template: `
|
||||||
* <form #f="ngForm" (submit)='onLogIn(f.value)'>
|
* <form #f="ngForm" (submit)='onLogIn(f.value)'>
|
||||||
* Login <input type='text' ngControl='login' #l="form">
|
* Login <input type='text' ngControl='login' #l="ngForm">
|
||||||
* <div *ngIf="!l.valid">Login is invalid</div>
|
* <div *ngIf="!l.valid">Login is invalid</div>
|
||||||
*
|
*
|
||||||
* Password <input type='password' ngControl='password'>
|
* Password <input type='password' ngControl='password'>
|
||||||
|
|
Loading…
Reference in New Issue