{
type: "object",
properties: {
prop1 : {
"type": "array",
"oneOf": [
{ title:"abc", const: [1,2] },
{ title:"def", const: [3,4] },
],
"default" : [3,4]
}
}
For above, I am not able to set default value,
I am getting following
Material-UI: You have provided an out-of-range value
3,4
for the select component.
Consider providing a value that matches one of the available options or ‘’.
The available values are ``,1,2
,3,4
.
Also I want to remove the blank option visible at first in the dropdown select