{
type: "object",
oneOf: [
{
title: "Google",
description:
"Once registered, you should receive a Client ID and Client Secret. Add those in your application environment file",
properties: { type: { const: "Google" } },
},
{
title: "Github",
description:
"Let’s enable GitHub as a sign in option in our Auth.js configuration. You’ll have to import the GitHub provider from the package and pass it to the providers array we setup earlier in the Auth.js config file",
properties: { type: { const: "Github" } },
},
],
},
I have this schema. There is no UI Schema. It does not show Description fields. What should I do?
I want the description to appear under the Address tab. I also want to show a separate description for the User tab. And imagine I have 10 more tabs like this. A separate description for each one.
Actually I expected ObjectRenderer to work since the type of each oneOf is object. But here createCombinatorRenderInfos generated VerticalLayout ui schema. The first expected behavior was to generate { type: "Control", scope: "#" } here.
When I manually entered { type: "Control", scope: "#" } into the uischema of JsonFormsDispatch manually, it fixed it.
Would you like me to open an issue on Github for this?