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
If a field is hidden, it should NOT be validated #825
Comments
Thanks for opening! I used your form and tried to reproduce it with the steps you provided. What is interesting is that when using other keys, the behavior works as expected (no errors shown) In this line we explicitly filter for hidden fields. Maybe there is something not working with the provided key (lower case + special chars)? |
I added a test case via https://github.com/bpmn-io/form-js/compare/825-errors-hidden-fields?expand=1 |
It seems like |
Describe the Bug
Hidden fields are validated even though there is no way to change their values.
Steps to Reproduce
Field_17uk1c9
appears in the errors, even though it's hidden.Expected Behavior
Field should not be validated if it's hidden.
Environment
Reported via forums: https://forum.camunda.io/t/required-validation-on-hidden-inputs/47782
The text was updated successfully, but these errors were encountered: