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

Item count validation for multi field

XMLWordPrintable

    • Yes
    • Yes
    • UI FW 32
    • 3

      Check for support of min/max number of entries in MultiValueFields. Two aspects:

      • Validation (thus depends upon MGNLUI-3313)
      • UI: ideally this would also be reflected on availability of the add/remove buttons.

      Quoting the relevant parts from the cloned ticket:

      Furthermore you are not able to limit the number of entries.
      [...]
      The attached SortableMultiField [has a new maxComponents property] into the definition so you can [...] limit the number of entries in the MultiField.

        Acceptance criteria

          1. image-2021-06-14-11-05-49-092.png
            230 kB
            Christopher Chard
          2. SortableMultiValueField.java
            14 kB
            Mikaël Geljić
          3. SortableMultiValueFieldDefinition.java
            0.9 kB
            Mikaël Geljić
          4. SortableMultiValueFieldFactory.java
            4 kB
            Mikaël Geljić
          5. styles.css
            0.2 kB
            Mikaël Geljić

              mhaderka Martin Haderka
              stefan.jahn Stefan Jahn
              Votes:
              7 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 0.95h
                  0.95h