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

Hidden properties are validated. #821

Open
kris2214 opened this issue Jul 20, 2018 · 0 comments
Open

Hidden properties are validated. #821

kris2214 opened this issue Jul 20, 2018 · 0 comments

Comments

@kris2214
Copy link

Consider I have a json schema as below:
.......
"properties" : {
"name": {
"type":"string",
"hide":"true"
}
......
},
"required": ["name"]

The name field is hidden, but also required.
I was using angular-schema-form previously, where name field was not displayed in UI and also not validated.
I migrated to json-editor, now the name filed is not displayed, however, name is validated and required error message is shown in UI.
Any approach to prevent hidden fields from being validated ?

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

No branches or pull requests

1 participant