Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Araviera opened this issue Oct 11, 2024 · 0 comments

Comments

@Araviera
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant