-
Notifications
You must be signed in to change notification settings - Fork 305
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
SDC | Bug: hidden field showing in validation required highlight #1760
Comments
Thanks for raising this @parthfloyd. This is a legitimate issue. The question itself is marked as required here: But according to the SDC IG, required only has meaning if the question is enabled by enable when
https://build.fhir.org/questionnaire-definitions.html So I think we do have to fix this one. |
@parthfloyd please check out the draft PR I just linked |
this PR is now ready for review. |
@jingtang10 Thanks a lot for this, I pulled the PR & tested. It's working with expected behaviour now! |
@parthfloyd this is now merged |
Describe the bug
Hidden fields are being shown in "Errors found" dialog on clicking submit button
Component
Core library, SDC library, reference app, or SDC gallery app
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should not show the error
Screenshots
![hidden-error-screenshot](https://user-images.githubusercontent.com/40067366/206674593-c746e08d-a3b4-4918-a9a9-b98293c99142.png)
The text was updated successfully, but these errors were encountered: