Skip to content

No event for getInputType error: Unable to determine input type for object #288

Open
@Mathijs003

Description

@Mathijs003

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions