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

Cannot disable automatic sorting in comboBox/linkField

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 6.2.12
    • 6.2.10
    • None
    • None

    Description

      Steps to reproduce

      1. Configure a comboBoxField using optionListDatasource like below:
            selectOne:
              $type: comboBoxField
              defaultValue: internal
              datasource:
                $type: optionListDatasource
                sortable: false
                options:
                  - name: disabled
                    value: disabled
                    label: disabled
                  - name: auto
                    value: auto
                    label: auto
                  - name: off
                    value: off
                    label: off
        

      .. Logs, screenshots, gifs...

      Expected results

      • The combo box entries show up in the defined order (disabled -> auto -> off)

      .. Justify non-trivial expectations with a link to a doc or a relevant discussion.

      Actual results

      • Since Magnolia 6.2.7, entries show up in alphabetical order
      • This seems to have been introduced with 6.2.7 / MGNLUI-5994

      Workaround

      • No.

      Development notes

      • Documentation update required.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                rkovarik Roman Kovařík
                viet.nguyen Viet Nguyen
                Votes:
                13 Vote for this issue
                Watchers:
                14 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD