-
Notifications
You must be signed in to change notification settings - Fork 2
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
Highlight required fields #291
Comments
I'm having some problems with There isn't any required field under Another one one that I'm not able to get is if I've been trying to study the model from the metadata-submitter docs, but haven't found any clues yet. @blankdots, any ideas how to go from here? |
For the original issue the problem is that |
@saulipurhonen sometimes whole sections of a from are required and not individual fields. Just in case I will review the schemas again and get the required fields, or remove some of them. Will come back with a detailed answer |
the schema of the way I see it there are 2 options when we have sections that are required but their fields are not:
If we were to add more restrictions to the schemas it will break the XML Schema <-> JSON Schema parity the fields which I identified are, that suffer from similar issues:
|
I think it would make most sense that user is required to add some data to required section if the section is a required property in the schema. I'll add the first field of the section as required for now. |
Describe the bug
Highlighting of required fields doesn't work properly.
It seems that
WizardJSONSchemaParser
doesn't handlerequired
attribute as it should.To Reproduce
Steps to reproduce the behavior:
Analysis Type
dropdown isn't highlightedExpected behavior
All required fields should be highlighted.
The text was updated successfully, but these errors were encountered: