Uploaded image for project: 'OCMUI - OpenShift Cluster Manager UI'
  1. OCMUI - OpenShift Cluster Manager UI
  2. OCMUI-3209

[ROSA][Day 1] Compute Node Instance Type's Select showing field is required even though a value is selected in the initial render

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • Center-UI-Team
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False

      Description of the problem:

      On the ROSA Wizard, on the Machine Pool step, on the initial render (of the wizard page) there is an error specifying that the Compute Node Instance Type is a required field, even though a value is selected. 

      It is worth mentioning this does effect costumers, but does not break any functionality. It only might be confusing to users seeing this

      Steps to Recreate This Issue

      ROSA Wizard - Machine Pools Step:

      1. Open the ROSA wizard: https://console.dev.redhat.com/openshift/create/rosa/wizard 
      2. Go through the steps of the wizard until you get to the machine Pool step (3.2)
      3. On the initial render of the Machine pool step, You might find a "Field is required" in red
      4. When one clicks on the Select component and chooses one of the values of the Select, they can notice the red error message is no longer visible. 
        (This happens only on the initial render)

      Actual result:

      Expected result:
      This red warning / error should not show at all (in the initial render)

      How reproducible:

      Almost always
      In case you don't see it, try and refresh the page and go to the mentioned step again

      Additional info:
      This is probably caused by the undefined value which is being injected through the component rendering the <MachineTypeSelection /> component. The name of the problematic value is:`forceChoiceInput`

      Screenshots & recordings:

      Day 1 - ROSA Wizard - Machine Pool step.mp4

              Unassigned Unassigned
              lkeren-ocm Lior Keren
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: