Update review
What you learned so far
In this part, you learned how to update a task in an Angular application. You learned how to create a form to update a task, how to populate the form with the task to update, and how to update the task in the list.
You also learned how to create unique identifiers for tasks using the uuid
library.
You learned how to create a TaskService
function to update the task in the list.
Letβs review the code
Update the TaskFormComponent
π Instructions
Open the src/app/task-form/task-form.component.ts
file.
Add the following code to the file: