react-jsonschema-form
react-jsonschema-form copied to clipboard
Empty item in selectbox for enum is not visible
Prerequisites
- [X] I have searched the existing issues
- [X] I understand that providing a SSCCE example is tremendously useful to the maintainers.
- [X] I have read the documentation
- [X] Ideally, I'm providing a sample JSFiddle, Codesandbox.io or preferably a shared playground link demonstrating the issue.
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
Not not for the MaterialUI:
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