[MGNLUI-6101] New Multivalue field: missing properties Created: 30/Jul/20  Updated: 05/Mar/21  Resolved: 18/Aug/20

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 6.2.2
Fix Version/s: 6.2.3

Type: Bug Priority: Neutral
Reporter: Mercedes Iruela Assignee: Adam Siska
Resolution: Fixed Votes: 0
Labels: 622, maintenance
Remaining Estimate: Not Specified
Time Spent: 16m
Original Estimate: Not Specified

Attachments: XML File config.modules.contacts.apps.contacts.subApps.detail.editor.form.tabs.personal.fields.multi.xml     File contacts-v8.yaml    
Issue Links:
Cloners
is cloned by MGNLDAM-868 CLONE - New Multivalue field: missing... Closed
Relates
dependency
depends upon MAGNOLIA-7866 I18nText fallback as I18n key Closed
documentation
to be documented by MGNLUI-6160 DOC: New multi field properties Closed
to be documented by MGNLUI-6161 DOC: i18n-able button labels for link... Closed
duplicate
duplicates MGNLUI-5577 Make 'Add' button caption configurabl... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Release notes required:
Yes
Documentation update required:
Yes
Epic Link: UI framework implementation
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.


Generated at Mon Feb 12 09:33:10 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.