Groverio / To-Do-List

A simple and intuitive To-Do List application to manage your tasks effectively. Features include task creation, editing, deletion.
https://groverio.github.io/To-Do-List/
21 stars 43 forks source link

[BUG] Restricting the access to dates before the current day #101

Closed Shreyanshi210205 closed 3 hours ago

Shreyanshi210205 commented 3 hours ago

Describe the bug As a task cannot be done or assigned for a date before the current day therefore the before dates should be restricted from being selected.

To Reproduce Steps to reproduce the behavior:

  1. Go to the website
  2. Click on date selection box
  3. See error

Expected behavior The dates before the current day should be shown grey and hence not be enabled to click and assign some task for that date.

Screenshots image

As can be seen that the task has been added for 1st October also which is not possible.

Anshgrover23 commented 3 hours ago

@Shreyanshi210205 Nice catch. thanks for contributing to this issue, assigned to you.