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

Empty item in selectbox for enum is not visible

Open Vity01 opened this issue 9 months ago • 2 comments

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

Vity01 avatar May 20 '24 09:05 Vity01