Ayagikei / LifeUp

Pure and highly customizable gamified to-do and habit-forming app.
209 stars 4 forks source link

[Bug] Persistent "Task Empty" Warning in Add New Task Page #158

Open WantenMN opened 5 months ago

WantenMN commented 5 months ago

Describe the bug In the Add New Task page, when attempting to save a task without entering a Task name, a "Task empty" warning appears.

However, even after filling in the task name, the "Task empty" warning persists.

Additionally, if the "Continue to add next task" option is selected and the current task is saved, when starting to add a new task, the "Task empty" warning remains visible.

To Reproduce Steps to reproduce the behavior:

  1. Navigate to the Add New Task page.
  2. Save a task without entering a Task name.
  3. Observe the "Task empty" warning.
  4. Fill in the task name, the "Task empty" warning is still present.
  5. Select the "Continue to add next task" option and save the current task.
  6. Observe that the "Task empty" warning is still present.

Expected behavior After filling in the Task name, the "Task empty" warning should disappear. Similarly, if the "Continue to add next task" option is selected and the current task is saved, the "Task empty" warning should not persist when adding a new task.

Screenshots None

Environments and Version (please complete the following information):

Additional context None