You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to hide the null title, you can make null the default value for the property and either use enumNames in the uiSchema, or you should be able to reconstruct the enum using oneOf and const like in the below schema. However it looks like there is a bug where we don't use the title if it's an empty string, which we can track in #4448.
Prerequisites
What theme are you using?
mui
Version
5.x
Current Behavior
When defining a property with an
enum
, e.g.:Null
values are still not accepted, see:Expected Behavior
No response
Steps To Reproduce
No response
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: