UoaWDCC / uabc-portal

Project for UOA Badminton Club. Established in 2023.
https://uoawdcc.github.io/uabc-portal/
10 stars 0 forks source link

[BUG] Fix form state in view session card component #243

Closed dyzhuu closed 1 month ago

dyzhuu commented 2 months ago

Description:

Form state is retained when filling out the create/edit form on the /admin/view-sessions page. Form state should be reset after creating a session and not transfer over to other dates. When updating the data, the form should show the new data, not the old data.

Refer to [https://www.notion.so/View-Sessions-Admin-f73fee595317467bad07ba8c72e490b8?pvs=4](eric's tests) for more details.

Acceptance Criteria:

Definition of Done:

Notes / Links