Update overview
Ce contenu n’est pas encore disponible dans votre langue.
What you will learn in this chapter
Here is our next scenario:
As a user,
When i click on the ‘Update’ button next to a task in the list,
Then i want to be able to update the task.
Technical details
- As we want to navigate to a new route, we need to add a route and a link to the
TaskListComponent
HTML template. - We will update our
TaskFormComponent
to populate the form with the task to update. - We will create a
TaskService
function to update the task in the list.