Create event modal fails to reset without user input #425
Labels
bug
Something isn't working
Frontend
Low Priority
This is for issues that may or may not be important, and do not need to be solved quickly.
Describe the bug
After creating an event, a success message is displayed along with an option to create another event. If the user instead closes the modal and reopens it using the plus icon on any day or the "add event" button, the modal continues to display the success message and the option to create another event instead of resetting its state.
To Reproduce
Steps to reproduce the behavior:
You will need to click on "New Event" to proceed with creating a new event.
Expected behavior
After creating an event and closing the modal, the modal should reset when reopened. It should no longer display the previous success message with the option to create another event. The modal should return to its initial state, ready for a new event creation process. The current behavior can confuse users who need to enter multiple events in the same session.
Screenshots
Which Branch should this fix be Pulled into?
PR into [branchName]
Device Information
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: