NUS-Project-SaBai / FrontEnd

1 stars 1 forks source link

Fix Patient Modal closing #150

Closed dylankhoo closed 1 month ago

dylankhoo commented 1 month ago

Patient Modal data does not get reset when closed. If the registration form is half-filled and closed, when clicking "new patient" the registration fields are still field with previously keyed data.

When close button/esc key is pressed the modal should close, and fields should be empty when reopened.