Given a user wants to edit a task name
When the user clicks on the name of a task
Then the user should be able to edit the name of the task
And when the enter key is pressed, the new task name should be saved to the database
And the task list should be updated to display the new task name
A user has the ability to edit a task in the list.
Edit button should be rendered.
Event listener for "Edit" button.
Pressing "Enter" key adds new task name to database and renders to dom.
Event listener for "Enter" key press.
4
Given a user wants to edit a task name When the user clicks on the name of a task Then the user should be able to edit the name of the task And when the enter key is pressed, the new task name should be saved to the database And the task list should be updated to display the new task name
A user has the ability to edit a task in the list. Edit button should be rendered. Event listener for "Edit" button. Pressing "Enter" key adds new task name to database and renders to dom. Event listener for "Enter" key press.