-
Notifications
You must be signed in to change notification settings - Fork 156
Create event modal fails to reset without user input #425
Description
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:
- Create any successful event.
- Close the modal by clicking close or clicking outside of the modal.
- Attempt to create a new event.
- When the modal reopens, notice it displays the previous success message.
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
