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

SelectField: field property 'selected' is ignored

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not an issue
    • Affects Version/s: 5.5.2
    • Fix Version/s: None
    • Component/s: dialogs, forms
    • Labels:
      None

      Description

              - name: maxLevels
                class: info.magnolia.ui.form.field.definition.SelectFieldDefinition
                label: Maximum Levels
                description: Maximum of level of pages shown in this recursion.
                type: Long
                options:
                  - name: 1
                    value: 1
                    label: 1
                  - name: 2
                    value: 2
                    label: 2
                  - name: 3
                    value: 3
                    selected: true
                    label: 3
                  - name: 4
                    value: 4
                    label: 4
                  - name: 5
                    value: 5
                    label: 5
      

      The property 'selected: true' is ignored, with this configuration the option '1' is used when opening first time the dialog.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              cringele Christian Ringele
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: