Skip to content

Support optional objects #465

Closed
Closed
@mfulton26

Description

Prerequisites

  • I have read the documentation;
  • In the case of a bug report, I understand that providing a SSCCE example is tremendously useful to the maintainers.

Description

Add support for not specifying an optional object property.

Steps to Reproduce

  1. Define a schema with a property of type object which is not required.
  2. Render the schema on a react-jsonschema-form and attempt to not specify the optional object property.

https://jsfiddle.net/f2y3fq7L/19/

Expected behavior

Have some sort of checkbox or something to enable/disable specifying the optional object property.

Actual behavior

There is no apparent way to not specify the optional object property.

Version

0.42.0

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