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

[OCMUI][Wizard]Validation error wasn't thrown against "Domain prefix" field when it is empty and user tries to move to next step in wizard.

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • Core UI
    • False
    • Hide

      None

      Show
      None
    • False
    • OCMUI Core Sprint 258, OCMUI Core Sprint 259

      Description of problem:

      In ROSA/OSD wizard when user enables the "Create custom domain prefix" checkbox and leave "Domain prefix" field as empty then there is no validation error thrown on the field when user tried to move to next step. The validation error  thrown only when user focus the field. This is wrong UX behavior. The user should give an indication on the field validation as soon as user attempt to move next without any valid value on the mandatory field.

      See the recording Screencast from 2024-08-08 12-56-40-1.mp4

      How reproducible:
      always

      Steps to Reproduce:

      1. Open OCM UI staging 
      2. Open OSD/ROSA wizard.
      3. Reach to cluster settings > Details step.
      4. Provide cluster name to cluster field.
      5. Check the checkbox "Create custom domain prefix".
      6. Do not enter or do anything on domain prefix field and leave it as empty.
      7. Fill all other required fields in the step and Click "Next" button.
      8. See the behavior.

      Actual results:

      In Step 7, User was not allowed to move to next step which is correct. At the same time, there was no validation error that indicate user about the domain prefix field that blocks user to proceed to next step. Validation error only shown when  user focuses the field and that seems wrong behavior.

      Expected results:

      At step 7, The validation error should be thrown against the "Domain prefix" field as "
      1 - 15 characters" as soon as user tried to proceed to next step  with an empty value.

            emingora Enrique Mingorance Cno
            jmekkatt@redhat.com Jayakrishnan Mekkattillam
            Jayakrishnan Mekkattillam Jayakrishnan Mekkattillam
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: