Closed divya-nshi closed 1 year ago
Please answer the following questions for yourself before submitting an issue.
Describe the bug \ Able to add empty string as a task name
To Reproduce \ Open Add task and type a space in the Add a new task tab. It can be entered as a valid task name
Add task
Add a new task
Expected behavior \ Task with empty name should not be allowed
Current behaviour \ we are able to create tasks with empty name by having space as the task name.
Possible solutions Adding a validation to check the input string after trimming
Screenshots
Desktop (please complete the following information):
Prerequisites
Please answer the following questions for yourself before submitting an issue.
Describe the bug \ Able to add empty string as a task name
To Reproduce \ Open
Add task
and type a space in theAdd a new task
tab. It can be entered as a valid task nameAdd a new task
form inputExpected behavior \ Task with empty name should not be allowed
Current behaviour \ we are able to create tasks with empty name by having space as the task name.
Possible solutions Adding a validation to check the input string after trimming
Screenshots
Desktop (please complete the following information):