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

Select field inside of multivalue does not properly select first value

    XMLWordPrintable

Details

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

    Description

      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.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD