I am using the schema below to render dropdown values, but I’m getting extra option labeled ‘None’, as shown in the image. Even i have define default value.
Is there a way to avoid this label.
const schema = {
type: ‘object’,
properties: {
DD_opts:{
type: “string”,
description: “”,
enum: [“Yes”,“No”],
default: ‘Yes’
}
},
required: [‘DD_opts’]
};
Hi @achy,
You can implement a custom renderer. The None
is hard coded in our renderers.