• Icon: Story Story
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • Orchestrator, UI
    • None
    • RHDH F&UI plugins 3284

      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":

      { "type": "string", "title": "Namespace Name" }

      }
      },
      {
      "title": "Dedicated Cluster",
      "properties": {
      "clusterName":

      { "type": "string", "title": "Cluster Name" }

      }
      }
      ]
      }
      }
      }
      }
      }

        1. Screenshot 2025-11-27 at 8.34.23 PM.png
          112 kB
          Piotr Kliczewski
        2. Screenshot 2025-11-27 at 8.34.51 PM.png
          120 kB
          Piotr Kliczewski

              rh-ee-lprabhu Lokananda Prabhu
              pkliczew@redhat.com Piotr Kliczewski
              RHIDP - Frontend Plugins & UI
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: