Skip to content

ASF doesn't validate properties that are absent from the form #957

Open
@donalmurtagh

Description

@donalmurtagh

Expected behaviour

If a property that is defined as required in the schema, is absent from the form (and model), the model should fail validation

Actual behaviour

The model passes validation

Gist/Plunker/Demo

This demo modifies the simple example by adding a required name2 property to the schema. Notice that validation passes, even though neither the form nor the model contain this property.

@json-schema-form/angular-schema-form-lead

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions