-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Open
Description
Prerequisites
- I have searched the existing issues
- I understand that providing a SSCCE example is tremendously useful to the maintainers.
- I have read the documentation
- Ideally, I'm providing a sample JSFiddle, Codesandbox.io or preferably a shared playground link demonstrating the issue.
What theme are you using?
mui
Version
5.x
Current Behavior
When defining a property with an enum
, e.g.:
{
"schema": {
"type": "object",
"definitions": {
"status": {
"enum": ["active", "cancelled", "completed", "inactive", "pending"]
}
},
"properties": {
// --- SNIP ---
"status": {
"type": ["string", "null"],
"$ref": "#/definitions/status"
},
// --- SNIP ---
}
},
"uiSchema": {
// --- SNIP ---
}
}
Null
values are still not accepted, see:
Expected Behavior
No response
Steps To Reproduce
No response
Environment
Latest everything.
Anything else?
No response