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

SelectField: field property 'selected' is ignored

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an issue
    • Icon: Major Major
    • None
    • 5.5.2
    • dialogs, forms
    • None

              - 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.

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD