docs: fix ngModel typo in form validation guide (#27574)
Fix typo PR Close #27574
This commit is contained in:
parent
b69ec48d77
commit
dc1ed3c47e
|
@ -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>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue