Skip to content

Empty item in selectbox for enum is not visible #4197

@Vity01

Description

@Vity01

Prerequisites

What theme are you using?

material-ui

Version

5.x

Current Behavior

Although the enum property in the model is nullable and not required, empty value for selection is missing.

Nowadays there is no easy way for user to deselect already selected value. We use 'blank space' as an empty item and it's barely visible and also it's not a perfect engineering solution.

It's working for other than Material-UI
eg: working combobox:
In RJSF demo

For default theme, you can see an empty available item
image

Not not for the MaterialUI:
image
RJSF DEMO - bug

Expected Behavior

Empty item should available also for MaterialUI

Steps To Reproduce

No response

Environment

- OS:
- Node:
- npm:

Anything else?

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions