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

Reorderable MultiValueField

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 5.4.3
    • 5.3.7
    • forms
    • Yes
    • Basel 10
    • 8

      MultiValueField should allow reordering its entries, to avoid having to mass-delete/re-add entries when order matters. This is considered a usability flaw, no need to make it configurable.


      Original description

      Use Case:

      For example, if you have a full editable main navigation with many links you either can use an area with single link components or you can use the MultiField. Both isn't optimal for this case, because:
      1) Case Components: you can switch components, but it is annoying always creating a new component.
      2) MultiField: You can easily add many Links, but if you want another order, you have to switch the entries manually. What is also annoying. Furthermore you are not able to limit the number of entries..

      The SortableMultiField combines both types and allows to order the field, so the authors can easily switch the order of the entries. The SortableMultiField can also be used with CompositeField etc.

      I added two new properties (sortable, maxComponents) into the definition so you can decide if you want to have the MultiField sortable or not and you also can limit the number of entries in the MultiField.

      I included the necessary Java files and some small styling.

        Acceptance criteria

          1. screenshot-1.png
            67 kB
            Joerg von Frantzius
          2. SortableMultiValueField.java
            14 kB
            Stefan Jahn
          3. SortableMultiValueFieldDefinition.java
            0.9 kB
            Stefan Jahn
          4. SortableMultiValueFieldFactory.java
            4 kB
            Stefan Jahn
          5. styles.css
            0.2 kB
            Stefan Jahn

              ejervidalo Espen Jervidalo
              stefan.jahn Stefan Jahn
              Votes:
              6 Vote for this issue
              Watchers:
              15 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD

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