-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Empty item in selectbox for enum is not visible #4197
Labels
Comments
Vity01
added
bug
needs triage
Initial label given, to be assigned correct labels and assigned
labels
May 20, 2024
Vity01
changed the title
Empty values are not available
Empty item in selectbox for enum is not visible
May 20, 2024
2 tasks
It would be great if deselection and nullable enums were supported. I'm sure my company would gladly contribute to an Algora bounty if such a thing were available. |
@Vity01 @kevinmichaelchen Great catch. The |
heath-freenome
removed
the
needs triage
Initial label given, to be assigned correct labels and assigned
label
May 24, 2024
8 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Not not for the MaterialUI:
RJSF DEMO - bug
Expected Behavior
Empty item should available also for MaterialUI
Steps To Reproduce
No response
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: