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

Selected option in SelectFieldOptionDefinition is ignored

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an issue
    • Icon: Major Major
    • None
    • 5.4.8
    • forms
    • None
    • Saigon 82, Saigon 83
    • 2

      It seems that the default selected option for all SelectFieldDefinition does not work anymore.
      When opening the dialog, the value in the option list is not pre-selected according to the field definition (See sample code below).

      - name: footerOption
        class: info.magnolia.ui.form.field.definition.OptionGroupFieldDefinition
        sortOptions: false
        layout: horizontal
        options:
          - name: empty
            value: empty
          - name: generic
            value: generic
            selected: true
          - name: education
            value: education
      

        Acceptance criteria

              khuong.nguyenduy Khuong Nguyen
              jdiepeveen Jordie Diepeveen
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - 4.5h Original Estimate - 4.5h
                    4.5h
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 1d 1h
                    1d 1h