Items don't refresh on update

I’m using Ionic 3 to create an app following a tutorial on Lynda. When trying to edit an item in a list, changes don’t appear in the list. My code is here.
Any help will be welcome.

In your home.ts in the method editTodoAlert(todoIndex) your handler function calls
this.todoProvider.editTodo(todoText, todoText);
but the first parameter should be the index:
this.todoProvider.editTodo(todoIndex, todoText);

Here is the working solution:

1 Like

Thanks, that’s right.