Items don't refresh on update


#1

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.


#2

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:


#3

Thanks, that’s right.