fix(forms): ngModel should export as ngModel
This commit is contained in:
parent
26676c4833
commit
8e6e90e703
@ -42,7 +42,7 @@ export const formControlBinding: any =
|
|||||||
@Directive({
|
@Directive({
|
||||||
selector: '[ngModel]:not([formControlName]):not([formControl])',
|
selector: '[ngModel]:not([formControlName]):not([formControl])',
|
||||||
providers: [formControlBinding],
|
providers: [formControlBinding],
|
||||||
exportAs: 'ngForm'
|
exportAs: 'ngModel'
|
||||||
})
|
})
|
||||||
export class NgModel extends NgControl implements OnChanges,
|
export class NgModel extends NgControl implements OnChanges,
|
||||||
OnDestroy {
|
OnDestroy {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user