Skip to content

Duplicate title and description on assigning a list of strings instead of a string to toplevel type field Β #2188

@idixit100

Description

@idixit100

Prerequisites

Description

Assigning a list to the top level type field (eg. {..."type": ["object"] ... } vs. {... "type": "object" ... } caused duplicate title and description texts for the form to appear. (The reason for doing this is because we are auto generating json schema forms in our code base and have type set to a List of Strings to support nullable types)

Steps to Reproduce

  1. Set the top level type to a list of string types instead of a single string

Expected behavior

Title and description are not duplicated.
Screen Shot 2021-01-05 at 11 01 31 AM

Actual behavior

Title and description are duplicated.
Screen Shot 2021-01-05 at 11 00 56 AM

Version

You can usually get this information in your package.json or in the file URL if you're using the unpkg one.

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