# #21: 💪 Enrich the todo-item component

So... We're still working on this one, but the purpose here is to be able to edit your todo item and use the input-button-unit component for this. You can either add an edit button or just let the user click or double click on the item's title. Then the simple item can be replaced (with \*ngIf) with the reusable component. You should pass the title as an input and catch the submit event to update the title.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ng-girls.gitbook.io/todo-list-tutorial/workshop-todo-list/enrich-the-todo-item-component.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
