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

[Feature] Improve Encounter Form Error Validation #44

Open
critch646 opened this issue Jun 15, 2023 · 1 comment
Open

[Feature] Improve Encounter Form Error Validation #44

critch646 opened this issue Jun 15, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@critch646
Copy link
Collaborator

Feature Request

  • Requested By: Brendan
  • Associated Components: Frontend

What Domain Problem Is Being Solved

  • why are we making this feature request and how are we hoping to fix it?

When the encounter form submits and there are multiple errors it only shows the topmost error in the form. We want to have all errors show simultaneously and with help text.

Technical Scope

  • Showing only a single error on submission is the browser performing the validation. Need to disable or override.
  • Use a library to handle form validation and errors. react-hook-form is a good candidate.
@critch646 critch646 added the enhancement New feature or request label Jun 15, 2023
@critch646 critch646 self-assigned this Jun 15, 2023
@jon-funk
Copy link
Owner

Resolved by #45

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants