Skip to content

enableMarkdownInDescription does not work in parent elements of if description is above input element #3975

@quazgar

Description

@quazgar

Prerequisites

What theme are you using?

material-ui

Version

5.x / current playground

Current Behavior

As demonstrated in this playground instance, enableMarkdownInDescription only seems to work in leaf nodes, not in higher levels of the json schema tree.

Expected Behavior

enableMarkdownInDescription should work everywhere.

Steps To Reproduce

Option 1: Look ath the playground example linked above.

Option 2:

  1. Add "ui:enableMarkdownInDescription": true to the ui schema definition in an element which has children.
  2. Add a description which should be rendered as Markdown.

Environment

Current playground.

Anything else?

No response

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