Description
When saving a task without a name, the app correctly shows the error “This field is required” .
However, if the user enters only spaces in the task name field:
No validation error is shown
The task is not saved (which is good)
But the lack of feedback is confusing
Additionally, if the task name starts with leading spaces (e.g. " Task name"), the task also fails to save without any error message.
Actual Behavior
Whitespace-only input shows no validation error
Task is not saved, but no feedback is provided
Leading spaces in task name prevent saving without explanation
Why this matters
Silent validation failures confuse users
Whitespace-only input should not bypass required field validation
Trimming or validating input improves UX and data consistency
Steps to reproduce
Steps to Reproduce
Create a new task
Leave the task name empty
Observe: “This field is required” is shown
Enter only spaces in the task name field
Try to save the task
Enter a valid name with leading spaces (e.g. " My Task")
Try to save again
What was the expected result?
Expected Behavior
Whitespace-only input should be treated as empty and show “This field is required”
OR show a clear error such as “Task name cannot contain only spaces”
Leading spaces should either:
Be automatically trimmed, or
Show a validation error explaining why saving failed
Put here any screenshots or videos (optional)
Screen_Recording_20260122_215405.mp4
How can we contact you (optional)
No response
Would you like to work on this issue?
Yes
By submitting this issue, I have confirmed that:
Description
When saving a task without a name, the app correctly shows the error “This field is required”.
However, if the user enters only spaces in the task name field:
Additionally, if the task name starts with leading spaces (e.g.
" Task name"), the task also fails to save without any error message.Actual Behavior
Why this matters
Steps to reproduce
Steps to Reproduce
" My Task")What was the expected result?
Expected Behavior
Put here any screenshots or videos (optional)
Screen_Recording_20260122_215405.mp4
How can we contact you (optional)
No response
Would you like to work on this issue?
Yes
By submitting this issue, I have confirmed that: