Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-7362

Selected property for SelectField within area dialogs not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Neutral Neutral
    • None
    • 5.6.1
    • templating
    • None

       

      If I set the selected property for an area's dialog (as shown below), the default value isn't shown, when creating a new page and editing the area.

      form:
        tabs:
          - name: tabMain
            fields:
              - name: title
                class: info.magnolia.ui.form.field.definition.SelectFieldDefinition
                label: Title
                options:
                  - name: Ipsum
                    value: Ipsum
                  - name: Lorem
                    value: Lorem
                    selected: true
                  - name: Dolor
                    value: Dolor
      

       

      But if I'm using the same property on a SelectField within a component's dialog, it's working.

       

      I hope that my description was sufficient, if not please feel free to ask the right questions.

       

      So my question here is: Should this property work for areas, too? If not, a notice in documentation would be great, I couldn't find anything.

       

      Best regards

       

      Sahin

       

        Acceptance criteria

              Unassigned Unassigned
              sahin.guener Sahin Güner
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD