docs: fix ngModel typo in form validation guide (#27574)

Fix typo

PR Close #27574
This commit is contained in:
Lucas 2018-12-10 12:01:39 -03:00 committed by Alex Rickabaugh
parent b69ec48d77
commit dc1ed3c47e
1 changed files with 1 additions and 1 deletions

View File

@ -302,7 +302,7 @@ After asynchronous validation begins, the form control enters a `pending` state.
A common UI pattern is to show a spinner while the async validation is being performed. The following example presents how to achieve this with template-driven forms: A common UI pattern is to show a spinner while the async validation is being performed. The following example presents how to achieve this with template-driven forms:
```html ```html
<input [(ngModel)}="name" #model="ngModel" appSomeAsyncValidator> <input [(ngModel)]="name" #model="ngModel" appSomeAsyncValidator>
<app-spinner *ngIf="model.pending"></app-spinner> <app-spinner *ngIf="model.pending"></app-spinner>
``` ```