forked from deebugger/todo-list-tutorial
-
Notifications
You must be signed in to change notification settings - Fork 112
Open
Description
https://ng-girls.gitbook.io/todo-list-tutorial/workshop-todo-list/event-binding#the-usdevent-object uses the following code:
<input [value]="title"
(keyup)="changeTitle($event.target.value)">
However, as of now this results in a compilation error of Property 'value' does not exist on type 'EventTarget' in the separate HTML component.
Changing it to the following resolves the issue, but is less than ideal.
<input [value]="title"
(keyup)="changeTitle($any($event.target).value)">
Since it's not ideal, not submitting a merge request as there may be a better way to handle this.
The following section, Pressing the Enter key, has a similar issue.
TonySpegel and sebbschbo
Metadata
Metadata
Assignees
Labels
No labels