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

Form fields that fail validation are not highlighted when submit button is clicked #2681

Open
Rkareko opened this issue Sep 30, 2024 · 0 comments

Comments

@Rkareko
Copy link

Rkareko commented Sep 30, 2024

Describe the bug
When the submit button on a form is clicked, the fields that fail validation, e.g required field, are not highlighted in red and the error text is also not displayed.

Component
SDC library

To Reproduce
Steps to reproduce the behavior on the SDC Demo app:

  1. Go to FHIR Engine sample app
  2. Click on Register new patient
  3. Without entering any data click on submit button
  4. The required fields are not highlighted in red and error messages are not shown

Expected behavior
The required fields should be highlighted in red and error messaged shown when the submit button is clicked

Screenshots
Find attached a video showing this behavior
form_validation_highlight_bug.webm

Smartphone (please complete the following information):

  • Device: [e.g. Pixel4a emulator]
  • Android version: [e.g. Settings -> About phone -> Android version]
  • Build number: [e.g. Settings -> About phone -> Build number]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Would you like to work on the issue?
Please state if this issue should be assigned to you or who you think could help to solve this issue.

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

No branches or pull requests

1 participant