Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-6428

Required-Star-Icon behaves unexpectedly in multi-field

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Neutral Neutral
    • None
    • 6.2.5
    • None

      A customer reported that when using a multi-field, the red required star * is displayed at the bottom of the corresponding field label instead of at the top when contained within multi fields.

      When trying to reproduce it myself, the red-star is not even appearing in Chrome, but I can see it as expected when using Safari.

      Steps to reproduce

      •  Use a multi field, this sample definition should work:
        form:
          properties:
            footnotes:
              $type: jcrMultiField
              itemProvider:
                $type: jcrChildNodeProvider
              field:
                $type: compositeField
                properties:
                  text:
                    $type: textField
                    required: true
        
      •  When rendering it, I was using a dialog, and I cannot see the red star but the field is set to required:

        Note that it behaves as expected if you fail to enter data:

      In the case of the customer, they see the star at the bottom of the text:

       

      Expected results

      When a field is required, we should see the red star * at the top of the text.

      Actual results

      Depending on the browser you see different behavior. The * either is nowhere to be found or at the bottom of the word.

      Workaround

      No workaround

      Development notes

      This is only happening with multiFields

        Acceptance criteria

          1. 1.png
            1.png
            71 kB
          2. 2.png
            2.png
            80 kB
          3. 3.png
            3.png
            9 kB

              Unassigned Unassigned
              mdamborenea Monica Damborenea
              Nucleus
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:

                  Bug DoR
                  Task DoD