DEV Community

loading...

ngModel - Type 'Event' is not assignable to type 'string'.

Mateusz Tomczyk
・1 min read

https://stackblitz.com/edit/angular-ivy-ws1lhp?file=src%2Fapp%2Fapp.component.ts What am I doing wrong? Somebody help?

Discussion (1)

Collapse
kokosss12 profile image
Dawid

It's typo, you should have [(ngModel)] instead of [(ngMode)] :)