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

New Multivalue field: missing properties

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 6.2.3
    • 6.2.2
    • None
    • Yes
    • Yes
    • Maintenance 19, Maintenance 20
    • 3

      There are some properties that are available in the old Multivalue definitions that are missing in New Multivalue field.

      Steps to reproduce

      • Create a dialog/form that includes a Multivalue field (for instance: contacts-v8.yaml )
      • Include properties: buttonSelectAddLabel and buttonSelectRemoveLabel

        Expected results

      Add Button and the Remove trash icon have the text added to the properties.

      Actual results

      Default values are displayed

      Workaround

      It is working when using the old ui definitions, see: config.modules.contacts.apps.contacts.subApps.detail.editor.form.tabs.personal.fields.multi.xml

      Development notes

      It seems that these properties (buttonSelectAddLabel and buttonSelectRemoveLabel) are ignored in the new UI definitions, but not in the old definitions, that's why when using the old definitions it works.

      LinkField has similar buttonSelectNewLabel and buttonSelectOtherLabel properties, both have @I18nText but have also hardcoded default value. This needs to be fixed also in a similar manner.

        Acceptance criteria

              asiska Adam Siska
              miruela Mercedes Iruela
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 16m
                  16m