rjsf-team/react-jsonschema-form

Null Fields on Material Ui 5

Fechada

#4.110 aberto em 29 de fev. de 2024

 (2 comentários) (0 reação) (0 responsável)TypeScript (2.136 forks)batch import
bughelp wanted

Métricas do repositório

Stars
 (13.175 estrelas)
Métricas de merge de PR
 (Mesclagem média 3d 17h) (32 fundiu PRs em 30d)

Description

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

Guia do colaborador