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

DOC: Multi value field behavior changed

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Neutral Neutral
    • None
    • 6.2.7
    • None
    • UI FW 28
    • 2

      Hello!
      We had previously used the following structure

      label: Composite Field
      $type: compositeField
        itemProvider:
          $type: jcrChildNodeProvider
      properties:
        tags:
          label: 'Page Tags'
          $type: jcrMultiValueField
          itemProvider:
            $type: jcrChildNodeProvider
          field:
            label: ''
            $type: textField
      

      After the latest changes ( presumably introduced by this commit ) this doesn't work any more and fails with the attached stacktrace.

      We managed to get it working by removing the second instance of jcrChildNodeProvider:

      label: Composite Field
      $type: compositeField
      itemProvider:
        $type: jcrChildNodeProvider
      properties:
        tags:
          label: 'Page Tags'
          $type: jcrMultiValueField
      #    itemProvider:
      #      $type: jcrChildNodeProvider
          field:
            label: ''
            $type: textField
      

      Probably makes sense to clarify this confusion in the doc (or release notes).
      Would be great to list the correct options to combine composite field with multi value field.

        Acceptance criteria

              akhamis Ashraf Khamis
              bfaniuk Boris Faniuk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: