rjsf-team/react-jsonschema-form

Null Fields on Material Ui 5

已关闭

#4,110 创建于 2024年2月29日

 (2 条评论) (0 个反应) (0 位负责人)TypeScript (2,136 个派生)batch import
bughelp wanted

仓库指标

星标
 (13,175 个星标)
PR 合并指标
 (平均合并 3天 17小时) (30 天内合并 32 个 PR)

描述

Prerequisites

What theme are you using?

material-ui

Version

5.x

Current Behavior

On playground there is an "Null Fields" type example, which allows us to set type="null" on schema and set "title" and "description" fields to display on form to add extra information. However, the "title" field objects of type "null" are not rendered, and this issue can also be reproduced on playground too.

Expected Behavior

The "title" field on objects with type="null" need to be rendered too

Steps To Reproduce

On playground https://rjsf-team.github.io/react-jsonschema-form/, with theme material-ui-5, on "Null Fields" example

Environment

- OS: Ubuntu 20.04
- Node: 20.9.0
- npm: 10.1.0

Anything else?

No response

贡献者指南