sajib1066/event-calendar

Cannot delete event

Closed this issue · 3 comments

Describe the bug
I have found that while the delete prompt pops up successfully, it does not actually remove the event from the database- it only removes it visually, so when the page is refreshed the event is still there.

To Reproduce
Steps to reproduce the behavior:

  1. Click on any date
  2. Fill out the input fields for creating an event (also, is it supposed to not automatically fill the date/time fields even if you selected a time period through dragging on the calendar?)
  3. Click submit to create an event
  4. Click on the created event as shown on the calendar
  5. Accept the delete popup
  6. Refresh the page

Expected behavior
The event should have been removed, and not be shown anywhere on the page.

Desktop (please complete the following information):

  • OS: Windows 11 Build 22000
  • Browser: Chrome 96.0.4664.45

Same issue here

lauf8 commented

The last PR resolve this Issue

@lauf8 Thank you very much.