Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event name is not the same through the tutorial #230

Open
Wafa2kameel opened this issue May 24, 2020 · 0 comments
Open

Event name is not the same through the tutorial #230

Wafa2kameel opened this issue May 24, 2020 · 0 comments

Comments

@Wafa2kameel
Copy link

submitItem event should be submit in https://ng-girls.gitbook.io/todo-list-tutorial/more-workshops/crud_http/get

And that to make it consistent with the the first part of the tutorial:
https://ng-girls.gitbook.io/todo-list-tutorial/workshop-todo-list/add-items

<div class="todo-app">
  <app-input-button-unit (submitItem)="addItem($event)"></app-input-button-unit>

  <ul *ngIf="todoList | async as todoItems">
    <li *ngFor="let todoItem of todoItems">
      <app-todo-item [item]="todoItem"
                     (remove)="removeItem($event)"
                     (update)="updateItem($event.item, $event.changes)"></app-todo-item>
    </li>
  </ul>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant