-
Story
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
Story
As a user of RHDH, I want to use oneOf to display my workflow input screen correctly
Background
We are currently seeing an issue regarding the UI layout for the Service Details section when creating a namespace (switching between General, Tekton, Dedicated, etc.).
We must use oneOf: We cannot use the standard dependencies or conditionals approach because it currently fails to load the widgets (e.g., ActiveTextInput, ActiveMultiSelect). oneOf is the only structure that renders these widgets correctly.
Here is a minimal schema that shows the issue. Attaching the screenshot.
{
"title": "Nested Header",
"type": "object",
"properties": {
"caasNamespace": {
"title": "CaaS Namespace Configuration",
"type": "object",
"properties": {
"serviceDetails": {
"title": "Service Details",
"type": "object",
"description": "Select a service below. Notice the Title is used for both the Dropdown AND the Section Header.",
"oneOf": [
{
"title": "General Service",
"properties": {
"namespaceName":
}
},
{
"title": "Dedicated Cluster",
"properties": {
"clusterName":
}
}
]
}
}
}
}
}