Uploaded image for project: 'Privacy'
  1. Privacy
  2. MGNLPRIV-52

Select field inside of multivalue does not properly select first value

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Outdated
    • Icon: Neutral Neutral
    • None
    • None

      Consider the following field definition:

       

      - name: test
        label: Test multivalue
        class: info.magnolia.ui.form.field.definition.MultiValueFieldDefinition
        transformerClass: info.magnolia.ui.form.field.transformer.multi.MultiValueSubChildrenNodeTransformer
        required: true
        field:
          name: selectTestform.field.definition.TextFieldDefinition
          class: info.magnolia.ui.form.field.definition.SelectFieldDefinition
          label: Select test
          options:
            test:
              label: Test
            test2:
              label: Test2
      

      With this field definition, when adding items to the multivalue list, the first value in the select field is selected. However, upon saving, the value is not actually properly saved - it gets discarded.

        Acceptance criteria

              Unassigned Unassigned
              jspence James Spence
              AdminX
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD