Skip to content

Enums without type set, don't display even though valid #859

Open
@mark007

Description

@mark007

Enhancement

As a user/developer, when I try to display an enum field that doesn't have the "type" set

Expected behaviour

I expected the enum to display, even without the type set to something like "string"

Actual behaviour

It actually doesn't appear, and I don't see any error that the field is not understandable / not being displayed

json schema validators like ajv seem to not think the type is required on enums. Also on this doc https://spacetelescope.github.io/understanding-json-schema/reference/generic.html, it says "You can use enum even without a type, to accept values of different types..."

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions