react-jsonschema-form icon indicating copy to clipboard operation
react-jsonschema-form copied to clipboard

Add a new `UiSchema` `ui:enableMarkdownInHelp` flag

Open TheOneTheOnlyJJ opened this issue 6 months ago • 1 comments

Prerequisites

What theme are you using?

core

Is your feature request related to a problem? Please describe.

This issue is a branch-off from #4527, which was closed as completed, but discussions about this particular flag remained unaddressed.

As of v5, the Help fields render markdown sporadically, depending on the theme being used, as a result of using the ui:enableMarkdownInDescription flag. This is undesirable behaviour.

Describe the solution you'd like

A new UiSchema ui:enableMarkdownInHelp flag that would enable similar behaviour as with ui:enableMarkdownInDescription.

Describe alternatives you've considered

Making ui:enableMarkdownInDescription enable markdown rendering in Help fields as well. This would be undesirable for some users. We should strive towards more granular control, thus, a proper new flag should handle this separate concern.

TheOneTheOnlyJJ avatar May 06 '25 10:05 TheOneTheOnlyJJ