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

SwitchableField that allows EnumDatasources

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Neutral
    • None
    • None
    • None
    • None

    Description

      Steps to reproduce

      info.magnolia.ui.editor.SwitchableFormDefinition#getField hardcodes optionList datasource

      Expected results

      • introduce SingleSelectFieldDefinition<?, DatasourceDefinition> getSwitcher(
        • (New name to preserve binary compatibility and tackle MGNLUI-6166 at the same time.
        • Another improvement is the introduction of SingleSelectFieldDefinition so a multi select can't be used by mistake
        • getSwitcher() gets precedense over getField()

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            1.
            Implementation Sub-task To Do Unassigned
            2.
            Review Sub-task To Do Unassigned
            3.
            Pre-Integration QA Sub-task To Do Unassigned
            4.
            QA Sub-task To Do Unassigned

            Activity

              People

                Unassigned Unassigned
                rkovarik Roman Kovařík
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:

                  Checklists

                    Task DoD