codersforcauses / p2s-v2

New and improved P2S
https://webapp.p2srugbyworks.com
MIT License
2 stars 0 forks source link

[BUG] Student Form Contact Validation #49

Open Drewbi opened 2 years ago

Drewbi commented 2 years ago

Problem When filling out the student creation or edit form the contact section includes input duplication for Home and Emergency contact. This functionality is currently broken due to a change in implementation but the previously working component can be found here. This code does not successfully validate and in order to complete the form "Use Same Contact" must be turned off and the value reentered into the emergency fields.

Where/When StudentDialog.vue When filling out the Contact section of the form.

Desired behavior

Drewbi commented 2 years ago

Add Student button should be clickable but should highlight mandatory fields and validate whole form.

Drewbi commented 2 years ago

Updates for this should also be applied to other forms