-
Improvement
-
Resolution: Fixed
-
Neutral
-
5.3.7
-
-
Yes
-
Empty show more show less
-
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.
- depends upon
-
MAGNOLIA-6366 Allow setting hasOrderableChildNodes for MockNodeType
- Closed
- is cloned by
-
MGNLUI-3527 Item count validation for multi field
- Closed
- is duplicated by
-
MGNLUI-3462 Allow rearranging of elements in MultiValue
- Closed
-
MGNLUI-3658 optionaly change order of items in Multivalue field
- Closed
- relates to
-
MGNLUI-4702 MultiValue Field No Longer Reorderable
- Closed