Skip to content

It is currently possible to create an empty task by entering only spaces in the task input field. This results in tasks that appear empty but occupy space in the list. #16

@MomenMM

Description

@MomenMM

Steps to Reproduce:

Open the Todo application.
Press the "Add Task" button.
In the task input field, enter a few spaces without any other characters.
Press the second "Add Task" button.
Expected Behavior:

The application should not allow tasks consisting only of spaces to be added.

Actual Behavior:

The task is added to the list, appearing as an empty task.

Suggested solution:
you can solve this by implementing a way for the app to remove spaces from the start of the text field.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions