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

Validation messages are not displayed on fields part of a multiValue field

    XMLWordPrintable

Details

    Description

      Steps to reproduce

      1.  Configure a form with a field of type jcrMultiValueField and an inner field using a validator or a required property set to true
      2.  Fill up the form and leave the required field empty (or insert a value which doesn't pass the validations)
      3. Try to save the form

      Validation message shown properly on a field out of the multiValue field:

      MultiValue field not showing any message when trying to save:

      Expected results

      The validation message should appear to inform that the field value is not valid when trying to save the form data.

      Actual results

      No feedback is received when trying to save.

      Workaround

      Development notes

      Checklists

        Acceptance criteria

        Attachments

          1. image.png
            image.png
            15 kB
          2. image-1.png
            image-1.png
            15 kB
          3. image-2021-08-26-15-18-31-492.png
            image-2021-08-26-15-18-31-492.png
            18 kB
          4. image-2021-08-26-15-19-34-974.png
            image-2021-08-26-15-19-34-974.png
            15 kB
          5. multiValue.yaml
            0.8 kB
          6. should_be_marked_as_required.gif
            should_be_marked_as_required.gif
            353 kB

          Issue Links

            Activity

              People

                sang.ngo Sang Ngo Huu
                rgaona Roberto Gaona
                Lukasz Skolarus, Mateusz Czubak
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - Not Specified
                      Not Specified
                      Logged:
                      Time Spent - 3d
                      3d