[MGNLUI-7631] Support MultiField readonly function Created: 17/Nov/22  Updated: 12/Oct/23

Status: Open
Project: Magnolia UI
Component/s: forms
Affects Version/s: 6.2.26
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Viet Nguyen Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: multifield
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: Not Specified Time Spent: Not Specified
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Issue Links:
Problem/Incident
causality
Sub-Tasks:
Key
Summary
Type
Status
Assignee
MGNLUI-7632 Implementation Sub-task To Do  
MGNLUI-7633 Review Sub-task To Do  
MGNLUI-7635 Pre-Integration QA Sub-task To Do  
MGNLUI-7636 QA Sub-task To Do  
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)
Date of First Response:
Epic Link: FieldsMaintenance
Team: Nucleus

 Description   

We can consider offer"canAddItems: false" so that the multifield readonly function could be achieved.

Currently we already having "canRemoveItems" configurable, customer would like somehow make it readonly by offering above "canAddItems" function.

Please investigate deeper into the use case and implementation to decide where to go.

Development note:
A read only multi field may also cause issue to a "create" dialog when users want to create a new content node which has a multi field inside.
Also this may work for JCR multi-field but not other datasources. Please consider a general approach there.

Work around:
Use content app to manage that field.



 Comments   
Comment by Viet Nguyen [ 17/Nov/22 ]

Thanks to maschwarz for providing a referenced implementation in:
https://jira.magnolia-cms.com/browse/HELPDESK-3421?focusedCommentId=331267&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-331267

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