Resume Craft: Your go-to platform for effortlessly tailoring ATS-friendly resumes to job descriptions. Streamline your job application process and stand out in the competitive market.
The form validation was triggered when delete section button was clicked. Fix it.
Changes made:
Just added the type="button" in the Professional Summary section's delete button. The issue was that since no type was set in the button, and in the DOM this button was being rendered inside a form, these buttons were also being considered as a submit button. So, the submit was being triggered when these delete button were clicked, and hence the validations were being triggered.
How Has This Been Tested?
Jabba
Checklist:
[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
Summary
Requirement:
The form validation was triggered when delete section button was clicked. Fix it.
Changes made:
Just added the type="button" in the Professional Summary section's delete button. The issue was that since no type was set in the button, and in the DOM this button was being rendered inside a form, these buttons were also being considered as a submit button. So, the submit was being triggered when these delete button were clicked, and hence the validations were being triggered.
How Has This Been Tested?
Jabba
Checklist: