Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSE > Array of objects displays as "array[objectnull]" in Forms view #70

Closed
rossmcdonald opened this issue Aug 23, 2019 · 1 comment

Comments

@rossmcdonald
Copy link
Contributor

commented Aug 23, 2019

Describe the bug

When using an array of object types in the JSON schema editor, it displays in the Forms view as "array[objectnull]".

To Reproduce

With model file:

type: object
properties:
  code:
    type: string
  data:
    type: array
    items:
      type: object
      properties:
        name:
          type: string
        age:
          type: integer

Displays as:

image

Expected behavior

It should just be "array[object]".

@marbemac marbemac added this to the Aug '19 Hardening milestone Aug 25, 2019

@mallachari

This comment has been minimized.

Copy link

commented Aug 28, 2019

This is the same as stoplightio/studio-internal#532.
I've already created PR for that here stoplightio/json-schema-editor#38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.