Open dbilovd opened 5 months ago
Taking notes. Thanks
On Sat, May 25, 2024, 7:52 PM David Lartey @.***> wrote:
Functionalities
- I can click the Submit button, even without filling any of the form fields. It won't submit the form, however, the button should be disabled and unclickable until the form is at least ready to be submitted
- The email address field accepts none-email addresses as valid values
- There is the following console warning when I select a date. Warning: A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component....:
- The submit functionality fails, however, I am navigated to the Department form page. When there is an error, the error should be displayed on the screen and not go to the next page, until the user corrects the error.
- The form data is posted to the console log before/after submission, it should not be. When debugging, it is fine but should not be committed to Git.
- There is no place to configure a different API endpoint. This should be available somewhere in the code.
— Reply to this email directly, view it on GitHub https://github.com/BlessingLartey/GaiaCare/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARZRNRKEIPO2WXPJIMV5OYLZEDTYPAVCNFSM6AAAAABIJELS42VHI2DSMVQWIX3LMV43ASLTON2WKOZSGMYTOMRQGUZDCOI . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Functionalities
Code
EmployeesAppraisal.jsx
component is redundant it only wraps<NewAF />
in adiv
. I know it was refactored from the old use which had the wizard. Now that it is no longer being used like that, it should be removed, or used instead of<NewAF />
.EmployeesAppraisal
andNewAF
. Kindly change the name of the file so that it will accurately tell when the file does.