Open
Description
Issue type
I'm submitting a (check one):
[ ] Bug report
[x] Feature request
[ ] Regression (something that used to work, but stopped working in a newer version)
[ ] Support request
[ ] Documentation issue or request
Current behavior
When there is a type error in the json schema, angular2-json-schema-form logs the errors in the console and (isValid) is still true and there is no validationError.
Expected behavior
The error should not only be logged in the console, but also thrown as an (validationError) or something like (hasErrors)..
How can we reproduce your problem?
I've used a json schema and this property gives an error because of the "object" type:
"tick-format": {
"$id": "tick-format",
"title": "Tick format function",
"description": "Tick format function",
"type": "object"
},
Environment
OS name & version: Mac OSX
Browser name & version: Chrome
Angular version: 5.2.0
Angular JSON Schema Form version(s): 0.7.0-alpha.1
Metadata
Metadata
Assignees
Labels
No labels