-
Beta Was this translation helpful? Give feedback.
Answered by
x0k
May 27, 2025
Replies: 1 comment 5 replies
-
{
"type": "object",
"properties": {
"district": {
"type": "number",
"title": "District",
"oneOf": [
{
"title": "Foo",
"const": 1
},
{
"title": "Bar",
"const": 2
}
]
}
}
} To make the scheme work - you need to use a const uiSchema = {
district: {
"ui:components": {
"numberField": "enumField"
}
}
} |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fixed UI schema