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

New Multivalue field: missing properties

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: 6.2.2
    • Fix Version/s: 6.2.3
    • Component/s: None
    • Labels:
    • Release notes required:
      Yes
    • Documentation update required:
      Yes
    • Sprint:
      Maintenance 19, Maintenance 20
    • Story Points:
      3

      Description

      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.

        Checklists

        Acceptance criteria

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Checklists

                    Bug DoR
                    DoD

                      Time Tracking

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