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

ReadOnly jcrMultiValueField allows adding/removing/reordering values

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Neutral
    • None
    • 6.2.13
    • dialogs
    • None

    Description

      Steps to reproduce

      1. Create a dialog that incorporates a jcrMultiValueField with readOnly=true
      2. View an item using this dialog

      Expected results

      1. A readOnly field should not offer the add button, the remove (dustbin) icon or the reordering arrows.

      Actual results

      # All three of the above edit controls are present and can be used. Making the inner fields readOnly prevents them being altered changed but they can be removed or reordered and new, empty values can be added.

      Development notes

      See attached light module for an example. Items can be created as normal and the included "Preview" action can be used to see the "readOnly" version of the editor subApp.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              chris.jennings Chris Jennings
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Bug DoR
                  Task DoD