Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Student Form Contact Validation #49

Open
Drewbi opened this issue Mar 7, 2022 · 2 comments
Open

[BUG] Student Form Contact Validation #49

Drewbi opened this issue Mar 7, 2022 · 2 comments
Labels
APP hard Very complex problem Something isn't working

Comments

@Drewbi
Copy link
Contributor

Drewbi commented Mar 7, 2022

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

  • "Use Same Contact" functionality should be restored to the StudentDialog component
  • The "required" validation of the emergency contact fields should be satisfied when duplicated from the home section.
@Drewbi Drewbi added problem Something isn't working APP hard Very complex labels Mar 7, 2022
@Drewbi
Copy link
Contributor Author

Drewbi commented Mar 29, 2022

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

@Drewbi
Copy link
Contributor Author

Drewbi commented Mar 29, 2022

Updates for this should also be applied to other forms

  • School
  • Session
  • Student
  • User

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
APP hard Very complex problem Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant