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

CustomArrayField not getting properly validated

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.2
    • None
    • RBAC Plugin
    • None
    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • Release Note Not Required
    • RHDH F&UI plugins 3257

      Description of problem:

      CustomArrayField used in conditon rules dynamic form for handling array of strings is not getting properly validated as it should show error when its left empty and its a required field. Attaching a video Screen Recording 2024-05-16 at 4.33.29 PM.mov.

      Steps to Reproduce

      1. Go to create role form in rbac plugin
      2. Go to permissions section
      3. Add a permission row -> select plugin -> select resource-type
      4. Click on configure access -> select a rule that requires an array of string as a required param value
      5. Notice that the corresponding field doesnt show error when kept empty even if its a required field

      Actual results:

      The field is not getting validated

      Expected results:

      The field should be properly validated and should show necessary errors

              yicai@redhat.com Yi Cai
              divgupta Divyanshi Gupta
              RHIDP - Frontend Plugins & UI
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: