Uploaded image for project: 'Red Hat Developer Hub Bugs'
  1. Red Hat Developer Hub Bugs
  2. RHDHBUGS-2593

[Orchestrator] ActiveDropdown: allow fetch:response:label/value selectors to access form data

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 1.8.2
    • Orchestrator
    • RHDH F&UI plugins 3287

      Description of problem:

      Customers want to reference current form values inside fetch:response:label and fetch:response:value selectors (JSONata),

      e.g. observers ? observers : [$${\{current.appRegistration.observers}}].

       

      Today selectors are evaluated only against the fetch response payload, so form data isn’t available.

       

      Proposal: evaluate selectors against a combined context, e.g. 

      { response: fetchResponse, current: formData }

      , and document the supported paths.

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

       # <steps>

      Actual results:

      Selectors only see the fetch response; form data references are not available.

      Expected results:

      Selectors can access both response and form data, enabling expressions like:

      "fetch:response:label": "response.observers ? response.observers : [current.appRegistration.observers]"

      Reproducibility (Always/Intermittent/Only Once):

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

              rh-ee-lprabhu Lokananda Prabhu
              rh-ee-lprabhu Lokananda Prabhu
              RHDH Frontend Plugins & UI
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: